Load widget only on blog posts

I think you’re looking for is_single():

if ( is_single() ) {
    // Do widget, which will only appear on single-post templates
}

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