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

$ mysql -h127.0.0.1 -P3306 -uroot -p 


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

解決方法:

可能 root 沒設密碼,去掉 -p ,直接回車

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章