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 General Discussion
  • Search

Cannot Create or Change Database

General questions about VestaCP
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
desertflyer
Posts: 5
Joined: Thu Feb 20, 2014 1:42 am

Cannot Create or Change Database
  • Quote

Post by desertflyer » Thu Feb 20, 2014 1:49 am

Hello,

I am getting the following error when I try to make a new database:
Image

I also cannot make changes to existing databases. I changed the MySQL root password, so is that the problem? Thanks for any help you can provide.
Top

Joshua
Posts: 4
Joined: Tue Feb 18, 2014 2:51 am

Re: Cannot Create or Change Database
  • Quote

Post by Joshua » Thu Feb 20, 2014 2:08 am

Try editing the mysql.conf file located in the "/usr/local/vesta/conf" directory.

It should start like this:

Code: Select all

HOST='localhost' USER='root' PASSWORD='password'
Update the password with your new MySQL root password, restart vesta and it should be fixed.
Last edited by Joshua on Thu Feb 20, 2014 2:19 am, edited 1 time in total.
Top

desertflyer
Posts: 5
Joined: Thu Feb 20, 2014 1:42 am

Re: Cannot Create or Change Database
  • Quote

Post by desertflyer » Thu Feb 20, 2014 2:15 am

That fixed it. Thank you, Joshua, for helping a novice like me learn!
Top

ducnb
Posts: 16
Joined: Fri Jul 31, 2015 3:39 pm

Re: Cannot Create Database
  • Quote

Post by ducnb » Sat Aug 01, 2015 1:44 am

Please see this image:
Image

I dont know why, before it show in host field is "localhost" but now, it's empty and I cant create new database.
Please help me.
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Cannot Create Database
  • Quote

Post by skurudo » Sat Aug 01, 2015 3:32 pm

ducnb wrote:Please see this image:
Image

I dont know why, before it show in host field is "localhost" but now, it's empty and I cant create new database.
Please help me.
viewtopic.php?f=10&t=5326&start=10#p30042 - reinstall solved problem or not?
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “General Discussion”



  • 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