Why is there a 404 on page 2+ for my search page?

Why is there a 404 on page 2+ for my search page?

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