1

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.
2
  • The first you need to do is edit your question because I can't understand all what you asking for. There's a post like this here: stackoverflow.com/questions/22736396/… – oNare Jun 29 '15 at 14:00
  • does telnet to db machine with db port from source machine get succeeded? – Nawaz Sohail Jun 30 '15 at 17:38
1

You should check mysql user permission, specially the host field. Mysql documentation

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.