Fix lỗi khi cài đặt mysql – ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES)

Step 1 : sudo nano /etc/mysql/my.cnf

Step 2:

[mysqld]
# For debugging and recovery only #
skip-grant-tables
skip-networking
###################################

Leave a reply:

Your email address will not be published.

Site Footer

Sliding Sidebar

Facebook