close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Fatal error: Too many connections

Thread began 11/04/2010 4:51 pm by CraigR | Last modified 11/05/2010 3:20 am by CraigR | 2833 views | 3 replies |

CraigRBeta Tester

Fatal error: Too many connections

I haven't seen this for a while.

I have an ecommerce site with ecart 5 (php. mysql) and I uploaded the files to my testing server today.
After a short amount of testing, i got the error above

I have been building the site a testing locally with no issues.

all of my recordsets use a standard connections file, and all are 'freed' after the closing html tag.

I suspect the problem may lay with my hosting provider, but are there any tests/checks I can do, or steps I can take to help alleviate the problem ?

Sign in to reply to this post

Dani Chankhour

Try adding this piece of code to the page you are getting the error:

$link = mysql_connect("localhost", "mysql_user", "mysql_password");
if (mysql_errno() == 1203) {
// 1203 == ER_TOO_MANY_USER_CONNECTIONS (mysqld_error.h)

i got that code from this page:


It is definitely something that you would have to resolve with your hosting provider. Unless there is a loop that is trying to connect to the database every time which i don't think it is the case here.

Sign in to reply to this post


I have also heard some people report overcoming this error message by avoiding persistent connections in their connection files by using 'mysql_connect' rather than 'mysql_pconnect'.

Sign in to reply to this post

CraigRBeta Tester

thanks for the replies.

my testing area is on a shared server, and I suspect that access the the sql server is shared with lots of other users, so the problem may not be mine, but due to other traffic.

(If anyone can enlighten/contradict this, I would like to know)

It seems to be OK now, but when you are delivering something to a client, it doesn't exactly enhance your reputation if your site goes down!!

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...