Database Help Please

Hey guys I am currently changing a site to vms, I use 1&1 Hosting and created a new MySQL Database but cant rename the actual database. Where in the vms files can i just change the database name its looking for? or any other solutions?

Thanks

Mitch L.

In local.config in the ‘core’ directory:

define('DBASE_USER', 'xxx');
define('DBASE_PASS', 'xxx');
define('DBASE_NAME', 'xxx');

See the wierd thing is it doesn’t have the local.config in it, then i went to the compressed folder that i downloaded and its not in there either..am i missing something?

Thanks for the quick reply

Hi

when you install a new VMS then create a blank local.config.php and put it in your core libary

The local.config.php write all Data when you install the vms

I unziped and uploaded the complete package, i created the local.config.php blank file and uploaded it to core with 776 permissions, i went to the install.php and gives me Parse error: syntax error, unexpected ‘.’, expecting ‘(’ in /homepages/29/d234489515/htdocs/hawaiian/install/install.php on line 63

Run install/checkinstall.php, some files uploaded may have been corrupted

Below is just the problem now

Fixed the above problems but when i next step the first page of setup it says, Fatal error: Cannot redeclare class ezDB_mysql in /homepages/40/d366614234/htdocs/core/classes/ezdb/ezdb_mysql.class.php on line 299

solved…thanks to a previous topic you guys helped…local.config wasnt completely empty