Is a sequence necessary in MySQL connection-string?

68 Views Asked by At

I am using connector/net but sometimes a connection error is generated on the server due to connection-string.

Is there any sequence to follow?

connection_string conn = new connection-string("User ID=root;Password=myPassword;
Host=localhost;Port=3306;Database=myDataBase;
Direct=true;Protocol=TCP;Compress=false;Pooling=true;Min Pool Size=0;
Max Pool Size=100;Connection Lifetime=0;");
0

There are 0 best solutions below