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

Change database name

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
timatkins
Posts: 1
Joined: Fri May 13, 2016 11:55 am

Change database name
  • Quote

Post by timatkins » Fri May 13, 2016 12:00 pm

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
Top

SS88
Posts: 336
Joined: Thu Nov 19, 2015 12:40 pm

Re: Change database name
  • Quote

Post by SS88 » Sun May 15, 2016 12:35 am

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