mysql -u root -p
Aaa111222
grant all privileges on *.* to root@'%' identified by 'aaa111222;
Quit
lnmp restart
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