How to remove the current post from the query?

post__not_in only takes arrays – so it should such, even if you are only passing single value. Simply pass array($post->ID).

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