404 Error with Custom Post Types and Taxonomy

After you add a new custom post type, you usually have to go under Settings->Permalinks and just click save.

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