create web service for android app using wordpress website

The WordPress JSON API plugin may be of use to you, which lets you access the WordPress tables via a RESTful API. You can also add your own custom controllers.

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