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