MySQL Root Password Reset, Now Cannot Connect to Database
MySQL Root Password Reset, Now Cannot Connect to Database
I reset my MySQL password because I must have forgotten it or never set one. My first question is, what is the default MySQL password for root that Vesta sets upon installation? I followed this guide https://help.ubuntu.com/community/MysqlPasswordReset and now after changing the password I cannot connect to MySQL. The password reset worked, and I can create and manage databases through the local terminal, but creating a database in the control panel now results in:
Could changing the password have messed up other things?
Code: Select all
Error: Connection Failed
-
- Posts: 1
- Joined: Sat Aug 30, 2014 8:31 am
Re: MySQL Root Password Reset, Now Cannot Connect to Databas
Take a look in the following files to see if your root password is incorrect:
Code: Select all
/usr/local/vesta/conf/vesta.conf
/usr/local/vesta/conf/mysql.conf
Re: MySQL Root Password Reset, Now Cannot Connect to Databas
Nevermind, I found out that if you change the MySQL password you also need to change it in /usr/local/vesta/conf/mysql.conf
-
- Posts: 1
- Joined: Thu Feb 04, 2016 10:09 am
Re: MySQL Root Password Reset, Now Cannot Connect to Database
The password reset worked, and I can create and manage databases through the local terminal, but creating a database in the control panel now results in:???? [deleted]
Ali
Ali
A stern warning from the administrator imperio | !! |
Spam is not allowed on this forum. Next time your account will be blocked |
Last edited by Karrahahu1 on Tue Feb 09, 2016 9:35 am, edited 1 time in total.
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: MySQL Root Password Reset, Now Cannot Connect to Database
Change root password in /usr/local/vesta/conf/mysql.confKarrahahu1 wrote:The password reset worked, and I can create and manage databases through the local terminal, but creating a database in the control panel now results in:????
Ali