Reputation: 331
I downloaded mysql community repo, and installed mysql server using. yum install mysql yum install mysql-server
And started service using systemctl start mysqld systemctl status mysqld command states that server is running,
but can not login to mysql using mysql -u root, it says "ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)"
Upvotes: 0
Views: 241
Reputation: 1
If thats doesn't worked for you , try the same but provide -p you can try like this :
mysql -u root -p
and provide your password for root to enter into the mysql console.
Upvotes: 0