Woocommerce REST API authentication with server password [closed]

Where is the Client class coming from? It’s certainly not from WordPress. You have to read its documentation to see how you can pass the credentials.

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