Can anyone tell me, How do I check what database I am using?? I need to do a back up and I want to confirm the database file I am using.
Thanks in advance
Stan
Can anyone tell me, How do I check what database I am using?? I need to do a back up and I want to confirm the database file I am using.
Thanks in advance
Stan
Look for the DB_DATABASE value inside your configure.php file to get your database name as shown in the example below.
PHP Code:
// define our database connection
define('DB_TYPE', 'mysql');
define('DB_PREFIX', '');
define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'xxxxxx');
define('DB_SERVER_PASSWORD', 'yyyyyy');
define('DB_DATABASE', 'yourdbname');
Bookmarks