Check authentication credentials using WP REST API

Have you tried the official Basic Authentication plugin?

https://github.com/WP-API/Basic-Auth

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