Set default MySQL port to the standard.

zircon^2
Adam Frisby 2007-05-25 07:57:41 +00:00
parent aacc1ee01c
commit 8c536efeda
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ namespace OpenGrid.Framework.Data.MySQL
{
try
{
string connectionString = "Server=" + hostname + ";Port=13306;Database=" + database + ";User ID=" + username + ";Password=" + password + ";Pooling=" + cpooling + ";";
string connectionString = "Server=" + hostname + ";Port=3306;Database=" + database + ";User ID=" + username + ";Password=" + password + ";Pooling=" + cpooling + ";";
dbcon = new MySqlConnection(connectionString);
dbcon.Open();