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

database [prefix_] possibly causing an issue?

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
peejaygee
Posts: 2
Joined: Mon Feb 13, 2017 5:02 pm

database [prefix_] possibly causing an issue?
  • Quote

Post by peejaygee » Mon Feb 13, 2017 5:08 pm

Hey Guys,

Decided to move over to VestaCP with my VPS, and all has gone good, up until this point.

So I was using ISPConfig3, and I was setting up a mySQL Database, I then imported my backup, and everything went well.

Long story short, I moved from ISPConfig3 over to VestaCP, and I tried to do the same, VestaCP puts the 'username' as the prefix, at first I was thinking, meh, no biggy, I'll go into the wp-config.php and change the details. It would appear that isn't just the case. (I don't fully know how SQL stores it's stuff, then database contents 'may' be referencing it's original database name?)

Is there a way to disable the [username] prefix on the database creation? Just so I can test my theory, as it might 'not' be that, but any troubleshooting contains a process of elimination, and this would be one of those 'processes'

Can anybody help me with this?
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: database [prefix_] possibly causing an issue?
  • Quote

Post by skamasle » Mon Feb 13, 2017 10:08 pm

You cant disable prefix if not touch code,

But you can create databases whit diferent prefix if you insert database, user, and password (md5) in your db.conf and then rebuild databases this works, but then you can have probelms if rebuild database from gui or change password.

So just create new databases is easy way
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