I'm trying to connect mysql with vb.net, I've already downloaded the mysql connector-net. And installed it. But I don't know what is the port number , server address of mysql. Its needed in the connection string. Please help,

  • I don't suppose you thought to check the MySQL docs? Besides, if MySQL is running on the default port there is no need to specify it in the connection string. Mar 14, 2010 at 3:04

1 Answer 1


Default is 3306, however default installation of mysql only listen on localhost or has "skip-networking" enabled.

  • What is skip networking.
    – user28233
    Mar 14, 2010 at 0:45
  • @user28233, If skip networking is enabled then you cannot connect to the mysql server through the network.
    – Zoredache
    Mar 14, 2010 at 0:49
  • how do I disable it?This is only a single computer with wamp server installed. I'm not trying to connect to the server computer.
    – user28233
    Mar 14, 2010 at 0:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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