I want to access my server's MySql database in my local system. But I am unable to set/configure server's mysql to allow remote access. Please tell me that how can i configure server.

link|improve this question
You need to provide us with more information to know how to help you. For example, what is the error message you got when trying to connect remotely? What do you mean by remotely (within same LAN or over Internet)? – Khaled Oct 4 '11 at 11:51
feedback

2 Answers

up vote 2 down vote accepted

You must need to change setting in Windows Firewall-

  1. Open Windows Firewall
  2. click on "Allow a program or feature through windows firewall"
  3. Click on MySql in list and set/mark public/access anywhere then click ok.

Then you may access this db in local system.

link|improve this answer
feedback

The question isn't much clear. Usually if you want to access your MySql db only locally you must create a user with the Host field set to localhost, and if you want to access from everywhere the host value must be set to "%" otherwise you can specify the hosts like in that example:

INSERT INTO user (Host,User,Password,...) VALUES('%.mydomain.com','myname',PASSWORD('pass'),...); FLUSH PRIVILEGES;

where % indicate from any host from mydomain.com

link|improve this answer
we have tried but "%" supports only in linux server does not in wondows server. – Khoyendra Pande Oct 4 '11 at 11:59
feedback

Your Answer

 
or
required, but never shown

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