mysql -u root -p
use mysql;
grant all privileges on *.* to 'root'@'your_ip' identified by 'your_password';
flush privileges;
【数据库】Mysql数据库开启允许特定IP远程连接
最新推荐文章于 2024-05-05 22:08:40 发布
mysql -u root -p
use mysql;
grant all privileges on *.* to 'root'@'your_ip' identified by 'your_password';
flush privileges;