Define new user capability for custom post types?

Use 'capability_type' & 'capabilities' when you register_post_type().

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