Cannot Connect to MySQL Database

I have a wordpress site which obviously runs a MySQL database. I am trying to connect to this database via API Express. It keeps telling me my credentials are wrong even after I have checked and double checked them.

I used 'show variables;' to retrieve the required information from MySQL. I am sure of my dbname, user and password.

I can't seem to figure out what is wrong.
img src="" alt="" />
1 person has
this question