mysql设置远程访问密码

 

mysql -u root -p

Aaa111222

grant all privileges on *.* to root@'%' identified by 'aaa111222;  

Quit

lnmp restart

原文地址:https://www.cnblogs.com/wujunbin/p/7468597.html