Home > Backend Development > PHP Tutorial > 【phpMyAdmin】修改配置文件连接到其余服务器

【phpMyAdmin】修改配置文件连接到其余服务器

WBOY
Release: 2016-06-13 12:16:24
Original
958 people have browsed it

【phpMyAdmin】修改配置文件连接到其他服务器



默认的phpMyAdmin在安装后会访问本机的mysql,但是有的时候我们需要访问其他的服务器的mysql数据库,所以我们需要配置来做。


果然,phpMyAdmin已经为我们做了配置的选项,但是需要我们进行一些手动的操作。


http:/yourphpmyadmin.com/setup/index.php
Copy after login

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




找到对应的文档




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


[[email protected] phpMyAdmin-4.4.0-beta1-all-languages]# mkdir config[[email protected] phpMyAdmin-4.4.0-beta1-all-languages]# chmod o+rw config[[email protected] phpMyAdmin-4.4.0-beta1-all-languages]# cp config.inc.php config/[[email protected] phpMyAdmin-4.4.0-beta1-all-languages]# chmod o+w config/config.inc.php
Copy after login



接下来就可以正常修改配置连接其他mysql服务器了。




Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template