Home Linux An error occurred while installing MySql database in Ubuntu 14

An error occurred while installing MySql database in Ubuntu 14

1
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 ….
While installing MySql server in Ubuntu/Linux you may get above error.
Solution
Open Terminal
$ 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
Now you should be able to log in to MySql through phpmyadmin
https://www.lifeonnetwork.com/solution-an-error-occurred-while-installing-the-database-error-1045-28000-access-denied-for-user-rootlocalhost-using-password-yes-ubuntu/
after giving 775 permission I am able to resume the installation and able to get in to the mysql server without any error

You might like : VPN Connection issue in Windows 10

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Exit mobile version