An error occurred while installing MySql database in Ubuntu 14

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...
https://www.lifeonnetwork.com/solution-an-error-occurred-while-installing-the-database-error-1045-28000-access-denied-for-user-rootlocalhost-using-password-yes-ubuntu/
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

Categories
Linux

I am a proud Indian, proud father, a blogger, Being in a profession as System administrator, my passion is troubleshooting computer issues, I do like sharing solutions through blogging making videos of solving issues.
One Comment
  • durga
    10 June 2014 at 2:02 pm
    Leave a Reply

    Glad it was helpful to you… That image from the ubuntu laptop where I got the error.

  • Leave a Reply

    *

    *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    RELATED BY