views:

333

answers:

1

New to Joomla and mySql environment. Created a Joomla test environment on localhost but did not name the mySql database to that of the target ISP. Is there a way to rename the database so I can load to ISP?

+2  A: 

Assuming I understood your question and you actually installed joomla on localhost but now want to move it and its data to your isp hosting environement, you have two places where you need to change the db name (assuming joomla 1.5.6/latest):

JOOMLA_DIR\configuration.php
$db = 'your-db-name'

JOOMLA_DIR\LIBRARIES\JOOMLA\config.php
$db = 'your-db-name'

If your data is important, remember to make a backup first.

Lepidosteus