Unix Technical Forum

MySQL connection timeout

This is a discussion on MySQL connection timeout within the MySQL forums, part of the Database Server Software category; --> Hi NG I'm Currently experiencing some problems with my database. When I try to connect to it, it returns ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 07:29 AM
Kasper Lindberg
 
Posts: n/a
Default MySQL connection timeout

Hi NG



I'm Currently experiencing some problems with my database.

When I try to connect to it, it returns this:



Error Type:
ADODB.Connection.1 (0x80004005)
SQLState: S Native Error Code: 1203 [TCX][MyODBC]User * has already more
than 'max_user_connections' active connections



If I don't connect to my database, how long should I wait, until all open
connections are closed due to Timeout?



Regards



/Kasper


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 07:29 AM
Brian Wakem
 
Posts: n/a
Default Re: MySQL connection timeout

Kasper Lindberg wrote:

> Hi NG
>
>
>
> I'm Currently experiencing some problems with my database.
>
> When I try to connect to it, it returns this:
>
>
>
> Error Type:
> ADODB.Connection.1 (0x80004005)
> SQLState: S Native Error Code: 1203 [TCX][MyODBC]User * has already more
> than 'max_user_connections' active connections
>
>
>
> If I don't connect to my database, how long should I wait, until all open
> connections are closed due to Timeout?



If the connections are in constant use you will be waiting forever. If they
are totally idle then you'll have to wait however long the server is
configured to wait before timing-out an idle connection. The default is
8hrs I believe.



--
Brian Wakem
Email: http://homepage.ntlworld.com/b.wakem/myemail.png
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-28-2008, 07:29 AM
Kasper Lindberg
 
Posts: n/a
Default Re: MySQL connection timeout

>> If I don't connect to my database, how long should I wait, until all open
>> connections are closed due to Timeout?

>
>
> If the connections are in constant use you will be waiting forever. If
> they
> are totally idle then you'll have to wait however long the server is
> configured to wait before timing-out an idle connection. The default is
> 8hrs I believe.
>

Thanks for your answer

/Kasper


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:59 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com