​ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

雲服務器安裝mysql,可是顯示root用戶只能在localhost本地進行訪問這就尷尬了 解決辦法:    vim /etc/my.cnf                    在最後一行加上  skip-grant-tables                    輸入:wq 命令 保存並退出 my.cnf 文件。 
相關文章
相關標籤/搜索