Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5056

unable to connect remote database using phpmyadmin

$
0
0

I'm Tryied to connect my server database on localhost using phpMyAdmin to access to a remote mySQL database.

i added below lines to my “config.inc.php” file in the bottom:

$i++;$cfg['Servers'][$i]['host'] = 'HostName:port'; //provide hostname and port if other than default$cfg['Servers'][$i]['user'] = 'userName';   //user name for your remote server$cfg['Servers'][$i]['password'] = 'Password';  //password$cfg['Servers'][$i]['auth_type'] = 'config';       // keep it as config

But i didn't get drop down with both “127.0.0.1” and one what i have provided with $cfg['Servers'][$i]['host'] switch between the servers.

Please assist me if you have any solutions. 

i added $cfg['Servers'][$i]['host'] to config.inc.php to switch between the servers. how to switch between servers?


Viewing all articles
Browse latest Browse all 5056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>