How to move a https website back to dev and access the admin?

Two things to try:

1 check that your wp-config.php file contains the following:

define('FORCE_SSL_ADMIN', false);

2 if you’re in a dev environment, then use wp-cli to run this:

wp search-replace 'https://example.com' 'http://example.com' --skip-columns=guid

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