Extend the wp_get_archives output with ‘?post_type=foo’?

From comment:

Use the plugin Custom Post Type Archives. It is slightly more flexible than the argument 'has_archive' => TRUE for register_post_type().

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