This forum is no longer active. Please post your questions to our new community site

Forums LAMPStack

Changing Database name

Subscribe to Changing Database name 3 post(s), 2 voice(s)

 
Avatar breatheeasy 2 post(s)

After changing the joomla database name (which is set to bitnami_joomla by default) and then updating the value for ‘var $db’ in ‘configuration.php’, it is no longer possible to connect to the joomla website:
“Database Error: Unable to connect to the database:Could not connect to database”

Is there anything else I have overlooked?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Has the “bitnami” database user permissions to access this new database? Try the following from a terminal:

$ mysql -u root -p
> grant all privilleges on NEW_DATABASE.* to ’bitnami’@’localhost’ identified by ‘PASSWORD’;
> flush privileges;

I hope it helps.

 
Avatar breatheeasy 2 post(s)

Thanks for the timely input, Beltran.
Granting all privileges on the new Database resolved the problem

Forums LAMPStack