Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

MySQL Root Password Reset, Now Cannot Connect to Database

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
turkey3
Posts: 75
Joined: Tue Aug 19, 2014 6:59 pm

MySQL Root Password Reset, Now Cannot Connect to Database
  • Quote

Post by turkey3 » Sat Nov 22, 2014 5:48 pm

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:

Code: Select all

Error: Connection Failed
Could changing the password have messed up other things?
Top

zeusking19
Posts: 1
Joined: Sat Aug 30, 2014 8:31 am

Re: MySQL Root Password Reset, Now Cannot Connect to Databas
  • Quote

Post by zeusking19 » Sat Nov 22, 2014 5:54 pm

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
Top

turkey3
Posts: 75
Joined: Tue Aug 19, 2014 6:59 pm

Re: MySQL Root Password Reset, Now Cannot Connect to Databas
  • Quote

Post by turkey3 » Sat Nov 22, 2014 5:57 pm

Nevermind, I found out that if you change the MySQL password you also need to change it in /usr/local/vesta/conf/mysql.conf
Top

Karrahahu1
Posts: 1
Joined: Thu Feb 04, 2016 10:09 am

Re: MySQL Root Password Reset, Now Cannot Connect to Database
  • Quote

Post by Karrahahu1 » Thu Feb 04, 2016 10:10 am

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
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.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: MySQL Root Password Reset, Now Cannot Connect to Database
  • Quote

Post by tjebbeke » Thu Feb 04, 2016 7:07 pm

Karrahahu1 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
Change root password in /usr/local/vesta/conf/mysql.conf
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password