首頁 >資料庫 >mysql教程 >Grant的时候报错的解决:Access denied for user 'root'

Grant的时候报错的解决:Access denied for user 'root'

WBOY
WBOY原創
2016-06-07 15:38:221548瀏覽

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

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

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

|Grants forroot@localhost                                           |

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

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

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn