Description:
- OS: W2K3
- MySQL-Server: 4.1.10
As long as I'm using something like a "simple" connection string
-> "server=1.1.1.1;user id=bogus;pwd=bogus;connection timeout=5;pooling=false"
everything works fine. The IP does not exists - so after 5 seconds we will get a timeout.
BUT - as soon as I use a "port" statement within the connection string
-> "server=1.1.1.1;port=3315;user id=bogus;pwd=bogus;connection timeout=5;pooling=false"
(and we have to so, because our MySQL installations are NOT running on the default port) - the timeout does not work anymore and the MySQL.Data.dll comes back with an execption ("Connection unexpectedly terminated").
And actually we want to work with something like this...:
"server=1.1.1.1;port=3315;user id=bogus;pwd=bogus;connection timeout=5;use compression=true;pooling=true;min pool size=5;max pool size=100;
How to repeat:
Just use a connection string with a port statement and a wrong IPAdress - i.e. "1.1.1.1"...
Description: - OS: W2K3 - MySQL-Server: 4.1.10 As long as I'm using something like a "simple" connection string -> "server=1.1.1.1;user id=bogus;pwd=bogus;connection timeout=5;pooling=false" everything works fine. The IP does not exists - so after 5 seconds we will get a timeout. BUT - as soon as I use a "port" statement within the connection string -> "server=1.1.1.1;port=3315;user id=bogus;pwd=bogus;connection timeout=5;pooling=false" (and we have to so, because our MySQL installations are NOT running on the default port) - the timeout does not work anymore and the MySQL.Data.dll comes back with an execption ("Connection unexpectedly terminated"). And actually we want to work with something like this...: "server=1.1.1.1;port=3315;user id=bogus;pwd=bogus;connection timeout=5;use compression=true;pooling=true;min pool size=5;max pool size=100; How to repeat: Just use a connection string with a port statement and a wrong IPAdress - i.e. "1.1.1.1"...