针对 42000错误
原文:https://*.com/questions/50177216/how-to-grant-all-privileges-to-root-user-in-mysql-8-0
mysql> CREATE USER 'root'@'%' IDENTIFIED BY 'root'; mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION; mysql> flush privileges;
2022-11-07 23:09:47
针对 42000错误
原文:https://*.com/questions/50177216/how-to-grant-all-privileges-to-root-user-in-mysql-8-0
mysql> CREATE USER 'root'@'%' IDENTIFIED BY 'root'; mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION; mysql> flush privileges;
下一篇:mysql的常用操作语句记录