Custom field only on custom post type?

Sure, just check the post type of the post you’re on.

global $post; // make sure $post is available
if( get_post_type( $post ) == 'your_custom_post_type's_name' ) {
    add_meta_box( ... );
}

UPDATE: I think the $post variable might not have been getting passed to get_post_type.

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