Error establishing a database connection when migrating site to localhost

Did you change your database settings in wp_config.php and copy your database to your local machine? You’ll also need to use a text editor to search a dump of your database for any URLs pointing to the live site before importing it locally if you haven’t done so already.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)