授权命令:
1. 进入mysql,GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘‘ WITH GRANT OPTION;
IDENTIFIED BY后跟的是密码,可设为空。
2. FLUSH privileges; 更新
时间: 2024-11-08 09:23:37
授权命令:
1. 进入mysql,GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘‘ WITH GRANT OPTION;
IDENTIFIED BY后跟的是密码,可设为空。
2. FLUSH privileges; 更新