Custom posts stopped working after moving to new domain

I had to flush my permalinks, so I went to Settings > Permalinks and just clicked save changes.

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