AppServ、phpMyAdmin、mysql的问题
安装appserv-win32-2.5.10之后其他的都正常可以用,也可以进入phpMyAdmin登陆界面,
但是输入用户名和密码之后出现错误:
#2013 - Lost connection to MySQL server at 'reading initial communication packet', system error: 0
已经试过很多方法,但还是不行。
请问有谁知道怎么弄?
------解决方案--------------------
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
------解决方案--------------------
mysql安装目录下的my.ini文件
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号