Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a VB .NET program the uses a MySQL database. It works when the computer that has WAMP installed is the one running the program.

The same program now displays an Unhandled Exception error when the computer it's running on does not have WAMP installed (and running). The only thing that is installed is the MySQL connecter net.

How can I make this work?

I have already tried opening port 20 by configuring the firewall. I did this for both TCP and UDP.

share|improve this question
Is the port for mysql open? Do you have a firewall that is blocking the access? What does the exception say? – gyurisc Mar 24 '10 at 5:44
yeah port 80 is opened . the exception says that it cannot connect to the database – Ieyasu Sawada Mar 25 '10 at 23:17

It could be the mysql server has the networking restricted or turned off.

Search for the file my.cnf and look for any of the following lines in the file in the [mysqld] section.

bind-address =

delete or comment out these lines and then restart mysqld.

FYI: mysqld uses tcp port 3306 for client communication.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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