Where can I find out the name of the database I’m using for the store? Over time I have created several databases for the store and I would like to delete the ones that are no longer being used, but I need to be absolutely sure I’m not deleting the active one.
$db_host = 'localhost';
$db_name = 'database';
$db_user = 'username';
$db_password = 'password';
Not finding anything that shows the db name. Here’s what I have:
$db_host = ‘%DB_HOST%’;
$db_name = ‘%DB_NAME%’;
$db_user = ‘%DB_USER%’;
$db_password = ‘%DB_PASSWORD%’;
The reason maybe you are not able to check the Database name/username and pass is because maybe the data is encripted having the line below enabled.
// BlowFish key
$crypt_key = ‘YOURSVERYSECRETKEY’;
I suggest you 2 thinks.
1)Try to check every DB, writing down the MB and modiefied date on the Database Management console at your host, then changing some data and recheck, so you now the modiefied DB.
2)Try to use the decript key using the ‘YOURSVERYSECRETKEY’ to decripf the config.php
Hopefully that can help you
Or just add a new user or product and then check each database to see which one has the new user/product, then you know which db your store is using.
Making a backup first and then being able to download it makes more sense then poking holes
The backup will be located in /var/database/export (I think)