如何更改phpmyadmin MySQL的IP地址? [英] How to change the ip address of phpmyadmin MySQL?
本文介绍了如何更改phpmyadmin MySQL的IP地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在xampp中更改了我的apache的ip地址,但是我无法连接到MySQL。我认为问题是我的apache不在数据库中的同一网络上。我的Apache位于192.168.1.10。而我的MySQL在127.0.0.1上。请帮我。我不知道该怎么办。谢谢。
I change the ip address of my apache in my xampp but i cannot connect to my MySQL. I think the problem is that my apache is not on the same network in my database. My apache is on 192.168.1.10. while my MySQL is on 127.0.0.1. Please help me. I don't know what to do. Thankyou.
推荐答案
在phpmyadmin文件夹中搜索 config.inc.php
search for config.inc.php
in phpmyadmin folder
并更改此
$ cfg ['Servers'] [$ i] ['host'] ='127.0.0.1';
这篇关于如何更改phpmyadmin MySQL的IP地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文