mysqld.cnf 配置文件中添加“skip-grant-tables”
[mysqld]
user= mysql
pid-file= /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port= 3306
basedir= /usr
datadir= /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking
PASSWORD要使用大写。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)