Custom Post Type conditional statement for ID of single post

I assume you’re looping through your query the usual way, if so, use the following code

if ( $query_parent_products->have_posts() ) :
    while ( $query_parent_products->have_posts() ) {
        $query_parent_products->the_post();

        // your post specific logic here
        if ( get_the_ID() == 116 ) {
            _e ('my ID is 116', 'theme_domain');
        } else {
            the_title();
        } 
    }
endif;

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