0

I recently installed mysql 5.7 on my ubuntu 18.04 machine, but cannot login as root, I keep getting the infamous 'access denied for 'root'@'localhost' error when trying to connect from the command line.

I have done a lot of research on this problem but most articles someow require that you get into the mysql prompt first by running the sudo mysql -u root command, but the issues is that I cannot even get there.

I have also looked at all my log files , I only have error.log files and no mysql.log files where apparently the temporary root password should be printed out to.

Can someone please tell me how I can reset this root password or if I am missing any steps?

Thank you in advance. -N

0 Answers0