How to connect to remote DB in local phpMyAdmin (WAMP)?

12,008

In config.inc.php under your phpMyAdmin folder, change the value of $cfg['Servers'][$i]['host'] from 'localhost' to the ip address of your remote DB.

See http://docs.phpmyadmin.net/en/latest/config.html#cfg_Servers_host for details.

Share:
12,008
delux
Author by

delux

Updated on June 05, 2022

Comments

  • delux
    delux almost 2 years

    I'm using WAMP server with MySQL Version : 5.6.17. Is there a way to connect to remote DB from my local phpMyAdmin?

    I have credentials for remote database, but I can not find a way how to add a connection in my local panel.

    I found over the new that it is something related to some config file, or something called PMA, but couldn't found more details about it.