Why am I getting Intermittent 404 pages on a sub domain with WordPress?

Why am I getting Intermittent 404 pages on a sub domain with WordPress?

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