Copying over taxonomy structure from one CPT to another

When you register the taxonomies you can specify multiple post types:

function register_my_taxonomies() {
register_taxonomy(
                  'location',
                  array('post','page', 'adverts', 'businesses'),

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