Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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;
share|improve this question
    
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
add comment

1 Answer

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

share|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
add comment

Your Answer

 
discard

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.