Need help fixing my wp-config file [closed]

Use wp-config-sample.php as a guideline. Rename your current wp-config.php file to wp-config-borked.php. Then copy wp-config-sample.php to wp-config.php.

Then change the database name and credentials (user, pass) in the wp-config.php file.

Never share your wp-config.php file. It contains the ‘keys to the kingdom’. If you have shared, change the database’s credentials via hosting “MySQL Databases”.

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