Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to connect to database server ?


Digerdoo

Recommended Posts

Warning: mysql_connect() [function.mysql-connect]: Too many connections in /home/customers/mydomain/public_html/admin/includes/functions/database.php on line 19

Unable to connect to database server!

Link to comment
Share on other sites

Your hosts database server is overloaded..... time to look for another host  :D

 

Matti

 

-------------------------------------------->

i just asked and they said that you must remove P in pconnect all files which are using database? So what other files using pconnect ?

Link to comment
Share on other sites

  • 1 month later...

bah! I just got that error too - I can't use another host... is there anyway to "reset" the connections? increase connections? anything....?

 

help....me.....please.....

Link to comment
Share on other sites

you can see if you are using pconnect (persistent connections) by looking in your includes/configure.php file, if that is not checked/filled in, then you definitely need to move to another host

 

your host is the one who resets/increases the connections

Link to comment
Share on other sites

so just to make sure I understand you correctly - if it's set to FALSE, then I could change it to TRUE and that should help me? right now it is set to false

 

define('USE_PCONNECT', 'false'); // use persistent connections?

 

thanks for your help

Link to comment
Share on other sites

no...no don't tell me that, actually since you're online - how hard is it to transfer everything? I mean if I were to transfer to another host, would I just export the database, and then import the database on the new host? and then voila? or does EVERYthing have to be setup again?

 

thanks a lot for your help

Link to comment
Share on other sites

  • 3 weeks later...
Warning: mysql_connect() [function.mysql-connect]: Too many connections in /home/customers/mydomain/public_html/admin/includes/functions/database.php on line 19

Unable to connect to database server!

 

 

Hi all i am getting this very same problem by any chance are you using the netfirms server as they are having loads of problems with the database keep telling me that they have had a surge in the amount of people that have signed up with them

Anyway any help with this would be great

How hard is it to move the whole site to another server?

And do you know of anyone that is good to work with

thanks guys

simon

Link to comment
Share on other sites

Hi all i am getting this very same problem by any chance are you using the netfirms server as they are having loads of problems with the database keep telling me that they have had a surge in the amount of people that have signed up with them

Anyway any help with this would be great

How hard is it to move the whole site to another server?

And do you know of anyone that is good to work with

thanks guys

simon

 

I think my server problems are really bad it wont even let me alter the configure.php file just says unable to save file in my file manager

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...