Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
数据库能连接 就是不知道哪里出问题了 求各位大神指示
回复 123124426 的帖子
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock
/var/lib/mysql/mysql.sock文件的位置看你安装mysql时是怎么设置的了. 不知道的话就找一下 find / -name mysql.sock 找到后链接即可. ln -s mysql.sock文件的位置 /tmp/mysql.sock
楼上的方法可以解决,谢谢