Link to database cannot be established: SQLSTATE[HY000] [2002]

Link to database cannot be established: SQLSTATE[HY000] [2002]

Default Asked on November 26, 2018 in PRESTASHOP.
Add Comment
1 Answer(s)

STEP 1:

Please make sure that each one is correct in /config/settings.inc.php


define('_DB_SERVER_', 'localhost');

define('_DB_NAME_', 'prestashop');

define('_DB_USER_', 'root');

define('_DB_PASSWD_', 'root');

define('_DB_PREFIX_', 'ps_');

STEP 2:

If the issue still not resolved then please log into Cpanel and check your server information specially the Memory Usage OR I/O Usage

If Memory Usage OR I/O Usage is exceed the limit then clear temp & cache OR contact your hosting provider to take immediate action.

Team Leader Answered on November 27, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.