views:

25

answers:

3

Hi,

I'm running XAMPP on my local host, and i want phpmyadmin to add another field of server on login page, so i can manage an external mysql server as well..

Is that possible?

Thanks

+2  A: 

in the phpMyAdmin config file add another configuration block, the file in question is config.inc.php , make sure that before the new configuration block you do $i++;

Sabeen Malik
A: 

You need to adjust the configuration of the mysql server you want to connect to so it allows connecting from the outside.

I suggest you use MySQL Workbench to administrate your mysql server(s).

halfdan
phpmyadmin allows you to do this easily and shows a drop down on the login screen when there are multiple servers in your config, so should be very much possible without hacking any core code.
Sabeen Malik
You're right. Adjusted my post.
halfdan
+1  A: 

It's actually pretty easy. Just add another block of code for the second server.

The configuration starts at: $i++;
The configuration ends before: // If you have more than one server configured...

Just copy and paste that (make sure you include $i++), and change the settings to the new server.

If that doesn't make sense, just click here.

Ryan Pendleton