Why does importing copies of the database dump and the document root make WordPress data inconsistent?

Why does importing copies of the database dump and the document root make WordPress data inconsistent?

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