Custom post type suddenly vanished from admin

I have only ever seen that happen if a plugin is deactivated for some reason or if the CPT is tied to a theme and switch to a new theme.

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