mysql -hlocalhost -uroot -P3306 -p;
use mysql;
select * from user;
grant all privileges on *.* to 'root'@'%' identified by 'root' with grant option; flush
flush privileges;
[linux] 外网连接mysql
最新推荐文章于 2023-08-09 18:12:35 发布