Opencart Error: Could not make a database connection
Moved my opencart website to other host and getting error database connection
even changed config.php with the new Directory and new data on mysql
And receive the error :
Error: Could not make a database connection using xxxxxxxx@localhost
Please help me .. I click on the LINK and doesnt exist !!
1 Answers
Editing Config files properly plays important role in configuring database check your
define(‘DB_DRIVER’, ‘mysql’);
define(‘DB_HOSTNAME’, ‘localhost’);
define(‘DB_USERNAME’, ‘stoychev_test’);
define(‘DB_PASSWORD’, ‘123456789);
define(‘DB_DATABASE’, ‘stoychev_oc1551’);
define(‘DB_PREFIX’, ‘oc_’);
Please fill in your USERNAME, PASSWORD and DATABASE under the ‘DB_USERNAME’, ‘DB_PASSWORD’ and “DB_DATABASE’
Please login or Register to submit your answer
0 comments