本人环境为Centos6.9 + mysql5.7
1,VIM编辑mysql5.7配置文件my.cnf
vim /www/lanmps/mysql5.7.17/my.cnf
找到[mysqld],在下面添加一行 skip-grant-tables
<
本人环境为Centos6.9 + mysql5.7
1,VIM编辑mysql5.7配置文件my.cnf
vim /www/lanmps/mysql5.7.17/my.cnf
找到[mysqld],在下面添加一行 skip-grant-tables
<