Update permalinks after domain change

Option A: Here’s a Quick Way to Search and Replace Your WordPress Database

Option B: Export your database using phpmyadmin and open in a text editor such as (Notepad++), and use search/replace to find old domain and replace with new domain.
MAKE SURE YOU BACKUP YOUR DATABASE BEFORE TAKING ANY ACTION

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