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

Broke MySQL root password?

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
mericson
Posts: 44
Joined: Thu Apr 06, 2017 12:37 am

Broke MySQL root password?
  • Quote

Post by mericson » Thu Apr 06, 2017 12:12 pm

Since I couldn't find the root mysql password that Vesta setup, I changed to root MySQL password manually in MySQL. Well, apparently that broke things since now I'm getting the error message "backups failed" with the following details:

Code: Select all

Can't connect to MySQL localhost
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Is there a standard way to change the MySQL root password through Vesta that I should have used?

Where can I configure the root MySQL password for Vesta now so backups work?
Top

mericson
Posts: 44
Joined: Thu Apr 06, 2017 12:37 am

Re: Broke MySQL root password?
  • Quote

Post by mericson » Fri Apr 07, 2017 12:21 pm

I found the answer here...

viewtopic.php?t=6336

Basically, if you change your password in MySQL, you also need to edit it in the file /usr/local/vesta/conf/mysql.conf
Top


Post Reply
  • Print view

2 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