Custom Permalink for Taxonimie and Custom Post Type

SOLUTION
For my case i only had to add this code to my taxonomy:

'rewrite' => array(
            'slug' => 'mypostype-wich-should-be-displayed-before-the-taxonomy', // This controls the base slug that will display before each term
            'with_front' => false // Don't display the category base before 
        )

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