ajax sends data to plugin

This cannot work. Read What’s the preferred method of writing AJAX-enabled plugins?

Do not try to access you plugin files directly.

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