Connect to external server by using phpMyAdmin


I have phpMyAdmin installed on my local machine. How can I make it connect to an external server?

7/13/2017 11:30:32 PM

In the config file, change the "host" variable to point to the external server. The config file is called and it will be in the main phpMyAdmin folder. There should be a line like this:

$cfg['Servers'][$i]['host'] = 'localhost';

Just change localhost to your server's IP address.

Note: you may have to configure the external server to allow remote connections, but I've done this several times on shared hosting so it should be fine.

11/12/2009 1:15:42 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow