+ -
当前位置:首页 → 问答吧 → AppServ、phpMyAdmin、mysql的问题

AppServ、phpMyAdmin、mysql的问题

时间:2011-12-12

来源:互联网

安装appserv-win32-2.5.10之后其他的都正常可以用,也可以进入phpMyAdmin登陆界面,
但是输入用户名和密码之后出现错误:

#2013 - Lost connection to MySQL server at 'reading initial communication packet', system error: 0

已经试过很多方法,但还是不行。
请问有谁知道怎么弄?

作者: Human_CK   发布时间: 2011-12-12

You need to edit your mysql Configuration file, by default the bind-adress is set to 127.0.0.1.

Open: /etc/mysql/my.cnf

Change the bind-adress to the ip you are going to use to connect yoursef to the database server

作者: wc1217   发布时间: 2011-12-12

引用 1 楼 wc1217 的回复:

You need to edit your mysql Configuration file, by default the bind-adress is set to 127.0.0.1.

Open: /etc/mysql/my.cnf

Change the bind-adress to the ip you are going to use to connect yoursef ……


I had XP...then what should I do?

作者: Human_CK   发布时间: 2011-12-12