GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123' WITH GRANT OPTION;
FLUSH PRIVILEGES;
delete from user where user='';
select user,host from user;
show grants;
\q
mysql -uroot -p123 -hIP
vi my.cnf
#bind-address=127.0.0.1
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)