Connection String in mySQL
This article describes about basic commands used for connection string in MySQL.
MySQL Standard string
Given below is the standard string for MySQL.
Server=specifiedServerAddress;Database=specifiedDatabase;Uid=Username;Pwd=Password;
|
Note: The default port for MySQL connection string is 3306.
The string given below is used to define the port for MySQL.
Server=specifiedServerAddress;Port=2222;Database=specifiedDatabase;Uid=Username;Pwd=Password;
|
Further Readings
You may also want to read these related articles.
Connection String in LINQ
Ask Your Question
Got a programming related question? You may want to post your question here