How to manage selected post-formats in custom post type

While the post type can add support for post formats using 'supports' or add_post_type_support(), it’s up to the theme to say which formats will actually have an impact on the front end.

Example:
add_theme_support( 'post-formats', array( 'aside', 'gallery' ) );.

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