Linux MySQL 开启远程访问

进入mysql以后

use mysql;
GRANT ALL ON *.* TO user@'%' IDENTIFIED BY '123456' WITH GRANT OPTION;

 

posted @ 2019-11-26 13:46  宅男大咖  阅读(385)  评论(0编辑  收藏  举报