NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Connecting to the MySQL Server

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 08-22-2005, 12:06 PM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Aug 2005
Location: Canada
Posts: 455
bluenoser will become famous soon enoughbluenoser will become famous soon enough
 



Connecting to the MySQL Server


I am having some problems with my websites, they are maxxing out their connections. They are not very high traffic sites and the hosting company is claiming that I am using too many connections.

There are 4 scripts on the account. 3 Wrodpress blogs and one PHPNUKE site. The PHPNUKE site is the pre-modded PNP verison

Does anyone know if there is anything that I can do to lessen my load on the server? Or do you think that the hosting company is talking out their behinds?

BTW when I say low traffic I mean a total of 500 hits a day combined.
__________________
Webmaster Blog

Hoser News

Why I like RecieveLinks
bluenoser is offline  
Old 08-22-2005, 12:10 PM   #2 (permalink)
Eating Pie
 
iNod's Avatar
Join Date: Nov 2004
Location: Canada
Posts: 2,272
iNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud of
 


Special Olympics AIDS/HIV Cystic Fibrosis Save The Children Baby Health Cystic Fibrosis
That is defently the hosting company.. I suggest you change. MySQL server can handel many many sql select commands at once. Theya re probley not on a fast server or they don't know what there talking about.

PM me if you want any reccommanded hosting companies.

Regards,
__________________
I feel old.
iNod is offline  
Old 08-22-2005, 12:34 PM   #3 (permalink)
RJ
NamePros Webmaster


 
RJ's Avatar
Join Date: Feb 2003
Posts: 12,930
RJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatness
 



Find Marrow Donors! Cystic Fibrosis Parkinson's Disease
If any of the scripts you're using have an option for using "persistant connections", turn that feature off.

By the way, the number of connections is set for the entire server and not likely to just your account. If you're only getting that small amount of traffic, its more likely that there is another account on the same hosting server that is hogging all the MySQL connections, such as a vBulletin forum with persistant connections enabled.

500 visits a day is a very light load for MySQL. Change hosts, imho.
__________________
@DomainBuyer facebook
RJ is offline  
Old 08-22-2005, 12:44 PM   #4 (permalink)
Pro Coder & Designer
 
aween's Avatar
Join Date: Apr 2005
Location: Netherlands
Posts: 967
aween is just really niceaween is just really niceaween is just really niceaween is just really niceaween is just really niceaween is just really niceaween is just really niceaween is just really nice
 



Originally Posted by -RJ-
If any of the scripts you're using have an option for using "persistant connections", turn that feature off.
????: NamePros.com http://www.namepros.com/programming/117638-connecting-to-the-mysql-server.html

By the way, the number of connections is set for the entire server and not likely to just your account. If you're only getting that small amount of traffic, its more likely that there is another account on the same hosting server that is hogging all the MySQL connections, such as a vBulletin forum with persistant connections enabled.

500 visits a day is a very light load for MySQL. Change hosts, imho.
couldnt agree more
__________________
aween web development
aween is offline  
Old 08-22-2005, 12:57 PM THREAD STARTER               #5 (permalink)
NamePros Regular
Join Date: Aug 2005
Location: Canada
Posts: 455
bluenoser will become famous soon enoughbluenoser will become famous soon enough
 



Thanks, I will check to see for the persistent connections option. The problem just started again,

And about the hosts, I JUST changed host and would rather not go through it again. I hope I can get it fixed.

I will let you know how it goes
__________________
Webmaster Blog

Hoser News

Why I like RecieveLinks
bluenoser is offline  
Old 08-24-2005, 08:24 AM THREAD STARTER               #6 (permalink)
NamePros Regular
Join Date: Aug 2005
Location: Canada
Posts: 455
bluenoser will become famous soon enoughbluenoser will become famous soon enough
 



Originally Posted by bluenoser
Thanks, I will check to see for the persistent connections option. The problem just started again,
????: NamePros.com http://www.namepros.com/showthread.php?t=117638

And about the hosts, I JUST changed host and would rather not go through it again. I hope I can get it fixed.

I will let you know how it goes
There were NO persistent connections options that I could see. And it seemed like it would dissconnect from the database after each query, or at least the majority of them

Is there any better ways to connect? I hear pconnect was supposed to be better?
__________________
Webmaster Blog

Hoser News

Why I like RecieveLinks
bluenoser is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: Install the Apache Web Server, Perl, PHP, and MySQL on Windows deadserious Webmaster Tutorials 96 05-27-2007 02:24 PM
soooo many yahoo's redhippo Domain Name Discussion 5 07-13-2005 12:26 AM
Dedicated Servers from just £45 $90 + [UK] 1 TB Data Transfer P4 3.0GHZ Only £119 blackicehosting Web Hosting Offers 0 07-12-2005 07:24 PM
Unmetered Summer Savings + 10% Discount blackicehosting Web Hosting Offers 0 07-02-2005 12:20 PM
Tutorial: Getting Started With MySQL (The Basics) deadserious Webmaster Tutorials 3 04-18-2004 02:17 PM

Liquid Web Smart Servers  
All times are GMT -7. The time now is 09:03 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger