sudden changing of host IP result in crash of the site

I fixed it,
I installed a new version of clean wordpress and transferred db (dumped db using phpmyadmin), and also plugins folder and theme folder, and it start working

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