【问题标题】:How to connect to remote DB in local phpMyAdmin (WAMP)?如何连接到本地 phpMyAdmin (WAMP) 中的远程数据库?
【发布时间】:2015-10-22 13:32:10
【问题描述】:

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

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

我发现新的东西与某些config file 或称为PMA 的东西有关,但找不到有关它的更多详细信息。

【问题讨论】:

标签: mysql phpmyadmin remote-access local-database remote-connection


【解决方案1】:

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

详情请见http://docs.phpmyadmin.net/en/latest/config.html#cfg_Servers_host

【讨论】:

    猜你喜欢
    • 2014-12-15
    • 1970-01-01
    • 1970-01-01
    • 2013-01-15
    • 1970-01-01
    • 1970-01-01
    • 2013-03-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多