Custom post type and taxonomies structure

Just use the slug component of your rewrite argument for your custom taxonomy:

register_taxonomy([
    'rewrite' => [
        'with_front' => false,
        'slug'       => 'cpt',
    ],

    // Other args
]);

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