1

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,

Server=myServerAddress;Port=1234;Database=myDataBase;Uid=myUsername;Pwd=myPassword;
user28233
  • 125
  • 1
  • 3
  • 12
  • 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 03:04

1 Answers1

3

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

jishi
  • 858
  • 1
  • 11
  • 25