unauthenticated user:
打开mysql的配置文件(my.cnf),在[mysqld]下面增加一行:
skip-name-resolve
RPM安装的mysql找不到my.cnf:
复制/usr/share/mysql/my-medium.cnf文件到/etc目录,并改名为my.cnf即可:cp /usr/share/mysql/my-medium.cnf /etc/my.cnf
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn