当前位置:Gxlcms > 数据库问题 > mysql设置远程可访问

mysql设置远程可访问

时间:2021-07-01 10:21:17 帮助过:3人阅读

mysql -u root -p

use mysql;

select host, user, authentication_string, plugin from user

grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘password‘;//设置所有人可访问

flush privileges;//刷新

 

 

 

mysql设置远程可访问

标签:arp   刷新   number   lang   sql   远程   ica   use   The   

人气教程排行