ajax call return 406 not acceptable for non logged users only

ajax call return 406 not acceptable for non logged users only

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