MySQL 5.7.7 - Centos 7 el7 - Access denied
Centos 7 3.10.0-123.8.1.el7.x86_64
Hi i have installed MySQL 5.7.7 from MySQL Yum Repository
service mysqld start i use
mysql_secure_installation then i get prompted for a password i just press enter and i get this error:
Error: Access denied for user ‘root’@'localhost’ (using password: NO)
I think i have tried everything to find the password or to reset it - but no go
here are my steps:
- rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
- nano /etc/yum.repos.d/mysql-community.repo
- Set MySQL 5.6 enabled=0 and set MySQL 5.7 enabled=1
- yum install mysql-community-server
- service mysqld start
Error: Access denied for user 'root’@'localhost’ (using password: NO)
any help is appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.