Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to connect to database server ?


Digerdoo

Recommended Posts

Posted

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!

Posted

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

 

Matti

Posted
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 ?

  • 1 month later...
Posted

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.....

Posted

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

Posted

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

Posted

no, setting to true causes problems, thus if it is set to false and having problems, time to move

Posted

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

  • 3 weeks later...
Posted
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

Posted
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

Archived

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

×
×
  • Create New...