【phpMyAdmin】更改配置文件连接到其他server



默认phpMyAdmin安装完毕后对机器的访问mysql,但有时我们需要访问其它server的mysql数据库,所以我们需要配置。


真,phpMyAdmin已经为我们做了配置的选项。可是须要我们进行一些手动的操作。


http:/yourphpmyadmin.com/setup/index.php

进入配置界面,这时候会出现提示 




找到相应的文档




复制出一份配置文件,而且赋予改动的权限。


[root@ip-0 phpMyAdmin-4.4.0-beta1-all-languages]# mkdir config
[root@ip-0 phpMyAdmin-4.4.0-beta1-all-languages]# chmod o+rw config
[root@ip-0 phpMyAdmin-4.4.0-beta1-all-languages]# cp config.inc.php config/
[root@ip-0 phpMyAdmin-4.4.0-beta1-all-languages]# chmod o+w config/config.inc.php



接下来就能够正常改动配置连接其它mysqlserver了。




版权声明:本文博客原创文章,博客,未经同意,不得转载。

原文地址:https://www.cnblogs.com/mengfanrong/p/4737852.html