Custom post type with rewrite slug as / has 404 issue in other post type. How to fix this issue

Custom post type with rewrite slug as / has 404 issue in other post type. How to fix this issue

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