How to exclude a widget from page 1 of a paginated post

As per the last comment, this is the correct answer:

$paged = get_query_var( 'page', 1 );
if(1 != $paged) ...

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