khodari Posted January 29, 2014 Share Posted January 29, 2014 Hi: I have 1 shop but so many SQL databases (from previous developers I employed). Which file would tell me what is the active database? I need this because I am thinking of moving ISPs. Thanks, Nabil Link to comment Share on other sites More sharing options...
Przemysław Suszek Posted January 29, 2014 Share Posted January 29, 2014 config\settings file 1 Link to comment Share on other sites More sharing options...
vekia Posted January 29, 2014 Share Posted January 29, 2014 current database name are stored in file mentioned by mr.suchy in fact, full path is: config/settings.inc.php there is a list of variables define('_DB_SERVER_', 'localhost'); define('_DB_NAME_', 'presta_db'); define('_DB_USER_', 'root'); define('_DB_PASSWD_', 'password_here'); define('_DB_PREFIX_', 'ps_'); ... ... red underlined variable is a variable with database name Link to comment Share on other sites More sharing options...
Recommended Posts