mysql允许远程连接

mysql -uroot -p

grant all privileges on *.* to 'root'@'%' identified by 'abc' with grant option; 

#                                                                                abc为密码

flush privileges;

posted @ 2019-09-21 09:08  随便取个名字算了  阅读(226)  评论(0编辑  收藏  举报