Fix Warning: mysql_connect() [function.mysql-connect]: Too many connections

Mobile
feeds
Welcome Login | Register

Fix Warning: mysql_connect() [function.mysql-connect]: Too many connections
Reply Your Comments:
Click this button if you are interested in replying to this topic and leave your comments
Sent To Friend
CLick this button if you want to send this page to a friend.
Subsribe To Rss Feeds
Subscribe to RSS
CLick this button if you want to subscribe to this RSS Feed. You can use your browsers feeds burners if you have mozilla or internet explorer 7 or higher and keep up with updates.
  Forums Index
      » MYSQL Forums
        » » Fix Warning: mysql_connect() [function.mysql-connect]: Too many connections
Fix Warning: mysql_connect() [function.mysql-connect]: Too many connections
Post Description: fix warning mysql connect functionmysql connect too many connections MYSQL
Post Tags:
This Post Has Been Viewed 8148 Times Since Fri Jul 21, 2006 7:09 am Author john607 with 11 replies
Fix Warning: mysql_connect() [function.mysql-connect]: Too many connections
Advertise On This Page




support, please help

I got this error on my server

Warning: mysql_connect() [function.mysql-connect]: Too many connections in


Leave Your Comments

Share:   Subscribe - Keep Up With This Topic
You can use this HTML code to put it on your website to show your friends this wallpaper. Use this code on your profile like myspace, friendster, Facebook or others. Just Copy and Paste it in your HTML on your websites
URL:
To embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it.
Embed:
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
Fourms BBCODE:
Links Related to : Fix Warning: mysql_connect() [function.mysql-connect]: Too many connections
Add Link:

Comments and replies About Fix Warning: mysql_connect() [function.mysql-connect]: Too many connections
:: 1 :: Reply #32 Reply By john607 On Fri Jul 21, 2006 8:53 am
john607:
The reason why are getting this error is because your server is running out of resources. Meaning you have server overload. Simply put, you have too many users in your site for the service you currently have.

Its our recommendation that you move from our shared hosting plan to a dedicated server. Shared hosting is not designed for site such big web sites as yours. If you continue growing with your website demand, you will continue to see these errors and it will only get worst.

Contact our sales team and we can provide you with an affordable dedicated hosting server for as low as $99.

Another option you may have is to streamline your code. However, this will require alot of time and resources from you. If you getting the error below, try making your script code more efficient. Webune can assist you with this task, but to be honest with you, it will be more affordable if you upgrade from your shared hosting plan to one of Webune's dedicated server Packages.

Warning: mysql_connect() [function.mysql-connect]: Too many connections in /imedia/users/user/htdocs/connect.php on line 7

you may want to consider making some modifications to your code, per the PHP.NET Manual, to resolve these errors.

Using mysql_connect(): The advantage of using mysql_connect() for connections to MySQL databases in your code is that the link to the server will be closed as soon as the execution of the script ends, unless it's closed earlier by explicitly calling mysql_close().

More information can be found at the following URL:
http://us3.php.net/manual/en/function.mysql-connect.php

Using mysql_close(): This explicitly closes the connections. The use of mysql_close() in conjunction with mysql_connect() would ensure that the connection is closed.

Using mysql_pconnect(): This has a disadvantage in that the connection to the MySQL server will not be closed when the execution of the script ends. Instead, the link will remain open for future use. While this will work if you need to leave the connection open for additional connections, mysql_close() will not close links established by mysql_pconnect().

More information can be found at the following URL:
http://us3.php.net/manual/en/function.mysql-pconnect.php
:: 2 :: Reply #19892 Reply By karima On Wed Sep 12, 2007 12:06 pm
karima:
how to contact yoru sales department?
:: 3 :: Reply #35854 Reply By Tanweer On Fri Jan 11, 2008 5:59 am
Tanweer:
i have getting and an error "warning: mysql_connect() [function.mysql-connect]: access denied for user 'root' at 'localhost' (using password: no) in /home/qures2/public_html/phpapp/dbc.php on line 12
access denied for user 'root' at 'localhost' (using password: no)"

what does it mean? please help me
thnx in advance,

tanweer
:: 4 :: Reply #48131 Reply By blabla On Tue Apr 01, 2008 7:38 am
blabla:
ik wil opmaken
:: 5 :: Reply #53898 Reply By Vincent On Thu May 15, 2008 7:50 am
Vincent:
i receved this error and i dont undersatand y

warning: mysql_connect() [function.mysql-connect]: access denied for user 'gsdvca_gsdadmin' at 'localhost' (using password: yes)
i cannot connect to the database because: access denied for user 'gsdvca_gsdadmin' at 'localhost' (using password: yes)
:: 6 :: Reply #56555 Reply By akira On Thu Jun 05, 2008 2:54 am
akira:
root' at 'localhost'
:: 7 :: Reply #59689 Reply By jeannie On Sun Jun 29, 2008 2:56 am
jeannie:
freemoviesonline.tv function.mysql-connect
:: 8 :: Reply #69992 Reply By moneyca On Tue Sep 09, 2008 4:33 pm
moneyca:
mo_koneh at myemail
hello.
my name is miss.moneyca koneh, i got your contact details in gay.bg and i'm interested in knowing you & being friendly with you . i would appreciate if we get acquainted as soon as possible, you can reach my email
stated below so that we can get to know each other better.
( mo_koneh at myemail )
i quite believe that we can start from here since it takes one to know someone. i want you to understand that race or distance does not matter but loving and caring matters a lot in life. i look forward to hearing more from you soonest
miss moneyca.
mo_koneh/at/myemail/dot
:: 9 :: Reply #90104 Reply By Doug. oug. Warren-Smith On Thu Jan 15, 2009 2:12 pm
Doug. oug. Warren-Smith:
i keep receiving the following message which includes the wording: "fix warning: mysql_connect()[function.mysql-conn whenever i go into the web-site "iisecurities"
are you able to advise re this? it would be very greatly appreciated.
thank you
doug. warren-smith
dws237 at internode.on.net
:: 10 :: Reply #91694 Reply By mike florez On Tue Jan 27, 2009 10:38 am
mike florez:
what does that mean?
:: 11 :: Reply #95639 Reply By hameedep On Sun Mar 01, 2009 9:44 pm
hameedep :
my hameed from dubai male32 i vand love