1
Answer

mysql connection time out expired?

Ask a question
sudharsan s

sudharsan s

12y
3.2k
1

hi.


 I am Using .NET 3.5 with mysql db.

when i am run my application i got error in my sql connection string

    m.ConnectionString =
       "Host=localhost;" +
       "DataBase=dheelabs_remedies;" +
       "Protocol=TCP;" +
       "Port=3306;" +
       "Compress=false;" +
       "Pooling=true;" +
       "Min Pool Size=0;" +
       "Max Pool Size=100;" +
       "Connection Lifetime=0;" +
       "User id=root;" +
       "Password=root;";
        m.Open();
          

ERROR

m.open

Error description:

error connecting: Timeout expired.  The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached.


help me to solve this.,....!

Answers (1)