An error occurred while installing Mysql server in Ubuntu 14.4
I got stuck with the Error 1045 (28000) – Access denied for user root@localhost using password Yes ….
I got stuck with the Error 1045 (28000) – Access denied for user root@localhost using password Yes ….
While installing MySql server in Ubuntu/Linux you may get above error.
Solution
Open Terminal
$ cd /etc/apache2
$ sudo chmod 775 apache2.conf
$ cd /etc/apache2
$ sudo chmod 775 apache2.conf
Give 775 permission to apache2.conf file then
Now try to restart the MySql service
$ sudo /etc/init.d/mysql restart
$ sudo /etc/init.d/mysql restart
Now you should be able to log in to MySql through phpmyadmin
You might like : VPN Connection issue in Windows 10
Glad it was helpful to you… That image from the ubuntu laptop where I got the error.