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. – John Gardeniers Mar 14 '10 at 3:04

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

| improve this answer | |
  • What is skip networking. – user28233 Mar 14 '10 at 0:45
  • @user28233, If skip networking is enabled then you cannot connect to the mysql server through the network. – Zoredache Mar 14 '10 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 '10 at 0:52

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.