3

我正在使用WAMP带有MySQL Version : 5.6.17. 有没有办法从我的本地 phpMyAdmin 连接到远程数据库?

我有远程数据库的凭据,但我找不到如何在本地面板中添加连接的方法。

我在 new 中发现它与 someconfig file或某些东西有关PMA,但无法找到有关它的更多详细信息。

4

1 回答 1

3

config.inc.php您的 phpMyAdmin 文件夹下,将$cfg['Servers'][$i]['host']from的值更改'localhost'为远程数据库的 IP 地址。

有关详细信息,请参阅http://docs.phpmyadmin.net/en/latest/config.html#cfg_Servers_host

于 2015-10-22T13:39:23.113 回答