Page 1 of 1

Change database name

Posted: Fri May 13, 2016 12:00 pm
by timatkins
Hi:

I'd like to change database name. I'm new in VestaCP and I have to admit it's very easy to administrate and to "touch" things in vesta configuration (console and admin).

So I have guessed what to do in order to change database name, but I'd like anyone to confirm ;-)

AFAIK I've seen a file in /usr/local/vesta/data/users/{USER}/db.conf with the database information.

If I change the database name in that file and I change the database name with MySQL ... would that be enough ?

Thank you in advance

Re: Change database name

Posted: Sun May 15, 2016 12:35 am
by SS88
I think so.

db.conf is used to store information that Vesta uses - like backup of database, etc.

So as long as you change it in db.conf and then change the database name in MySQL all should work OK.