I have a server:
http://www.logicoders.dk
where I have installed the Tunnel.php, so that
http://www.logicoders.dk/tunnel.php
works fine.
Now I want to connect to the database:
logicoders_dk
residing on the server.
How do I do that?
I know a username and password for the database.
I have no local Mysql database installed on my Pc.
I saw a tutorial on YouTube, but it seemed that now credentials were given on the remote database..
Any help appreciated..
Best regards
Thomas Riedel, Denmark
Acces remote MySql with Http
Re: Acces remote MySql with Http
Please try setting up a connection in dbForge as follows:
- On the 'General' tab, specify 'Host' relative to the web server (if the database is located on a web server, specify localhost), Port, User, Password.
- On the 'HTTP' tab, please select the 'Use HTTP tunnel' option (specify http://www.logicoders.dk/tunnel.php). If the web server is accessed through a proxy, select the 'Use proxy server' option and specify the corresponding settings.
- On the 'General' tab, specify 'Host' relative to the web server (if the database is located on a web server, specify localhost), Port, User, Password.
- On the 'HTTP' tab, please select the 'Use HTTP tunnel' option (specify http://www.logicoders.dk/tunnel.php). If the web server is accessed through a proxy, select the 'Use proxy server' option and specify the corresponding settings.
Re: Acces remote MySql with Http
Thanks. It seems that I get an error in the PHP script. I will come back shortly.