Change database name
Change database name
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
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
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.
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.