No connection could be made because the target machine actively refused it. MYSQL work bench? I have created php and Mysql site.Its Working Locally Xampp well. Finally I moved My site to server..i have Used Mysql Workbench. connected client database in Mysql Workbench in My system.when I Run the code its showing Error:

Validating Information....error with query: 
SELECT ID,fname,lname,email,userlevel,user_group,orgID 
FROM students 
WHERE username='test' 
AND password='123456' 
No connection could be made because the target machine actively refused it.
You should check mysql user permission, specially the host field.
Mysql documentation