linux 环境,PHP连接MYSQL不上,用localhost可以,但是用127.0.0.1连接不上,是什么原因? host改为localhost可以连接,用127.0.0.1就连接不上了。
mysql> GRANT ALL PRIVILEGES ON *.* TO root@localhost IDENTIFIED BY ' your current password ' WITH GRANT Insert the host and password This section will allow to insert the host's name and user account ...
一些您可能无法访问的结果已被隐去。
显示无法访问的结果