MySQL Forums
Forum List  »  Connector/ODBC

The timeout period elapsed prior to obtaining a connection from the pool
Posted by: Peter Haas
Date: February 09, 2016 03:44AM

Hy together,

In my application recently I got this errormessage
"The timeout period elapsed prior to obtaining a connection from the pool"

The application runs about 20days. Then this message occurs.

Does anybody know wherre this message comes from?

my source code:
OPEN connection:



mydbConnection = New MySqlConnection()
mydbConnection.ConnectionString = "server=" & ServerAddress & "user id=" & UserName & "password=" & UserPassword & "database=" & Database & "Allow User Variables=True"
'mydbConnection.ConnectionTimeout = 1
mydbConnection.Open()
mydbCommand = New MySqlCommand()
mydbCommand.Connection = mydbConnection



mySQL Request:
ConnectionPing = mydbConnection.Ping
'wenn keine verbindung besteht, dann öffne sie
If mydbConnection.State <> System.Data.ConnectionState.Open Or ConnectionPing = False Then
mydbConnection.Open()

Options: ReplyQuote


Subject
Written By
Posted
The timeout period elapsed prior to obtaining a connection from the pool
February 09, 2016 03:44AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.