Pagination links for custom post type shows correct number of links, but links result in Page not found

Pagination links for custom post type shows correct number of links, but links result in Page not found

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