Why are previous_post_link/next_post_link skipping some posts?

Check the published date/time for the skipped posts. You will run into problems with posts published at the same time as the current post’s publish time.

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