Home >Database >Mysql Tutorial >mysql问题及其解决办法_MySQL

mysql问题及其解决办法_MySQL

WBOY
WBOYOriginal
2016-06-02 08:49:52872browse
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