Default custom post type url

You set 'has_archive' => true, which will make your post type archive URL localhost:3005/en/makeup_section/, as it will use your post type slug if you do not specify a string.

Change it to 'has_archive' => 'sections' to place it at localhost:3005/en/sections/.

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