1.连接数据库 -----> mysql -u root -p
2.给权限 ------> grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘root‘ with grant option
3.保存 -----> flush privileges
原文地址:https://www.cnblogs.com/shuaiding/p/11782487.html
时间: 2024-10-12 16:59:21
1.连接数据库 -----> mysql -u root -p
2.给权限 ------> grant all privileges on *.* to ‘root‘@‘%‘ identified by ‘root‘ with grant option
3.保存 -----> flush privileges
原文地址:https://www.cnblogs.com/shuaiding/p/11782487.html