当前位置:Gxlcms > mysql > Grant的时候报错的解决:Accessdeniedforuser'root'

Grant的时候报错的解决:Accessdeniedforuser'root'

时间:2021-07-01 10:21:17 帮助过:10人阅读

mysqlSHOWGRANTSFOR'root'@'localhost'; --------------------------------------------------------------------- |Grantsforroot@localhost| --------------------------------------------------------------------- |GRANTALLPRIVILEGESON*.*TO'root'@'l

mysql>SHOW GRANTS FOR'root'@'localhost';

+---------------------------------------------------------------------+

|Grants forroot@localhost |

+---------------------------------------------------------------------+

|GRANTALLPRIVILEGES ON*.*TO'root'@'localhost'WITHGRANTOPTION

人气教程排行