# mysql -u root -p # 允许本地 IP 访问 localhost, 127.0.0.1 # insert into mysql.user(Host,User,Password) values('localhost','zhouz',password('1234')); # 允许外网 IP 访问 # insert into mysql.user(Host,User,Password) values('%','zhouz',password('1234')); # 刷新授权 # f