Webmaster Forum

Ezilon Directory   High Bandwidth Dedicated Servers   V7N Directory
Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Dedicated Servers Dedicated server help.

Reply
 
LinkBack Thread Tools Display Modes
Old 02-06-2008, 09:07 AM   #1 (permalink)
Junior Member
 
Join Date: 05-17-06
Posts: 10
iTrader: 0 / 0%
Latest Blog:
None

wideopen is liked by many
MySQL Connections Help

Hey guys I need a little help.

I keep getting this error.
Quote:
User ****** has already more than 'max_user_connections' active connections
I am on a Dedicated Server, and am very new to this.

How do I check or set the Max connections that I have?

I am using WHM?? Is this something I have control of? I had to set everything else up ?

Thanks in advance.

Phil
wideopen is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 02-06-2008, 12:44 PM   #2 (permalink)
Junior Member
 
Join Date: 02-06-08
Location: Tampa, FL
Posts: 4
iTrader: 0 / 0%
Latest Blog:
None

sagoshawn is liked by many
Greetings!

Try this...

Use mysql_connect() instead of mysql_pconnect() unless you have a good reason. In particular, check this setting in third-party scripts (such as osCommerce).

Next, the file /etc/my.cnf typically holds defaults for mysql. Note: You will need to login in the shell as root to make the changes. A line of

[mysqld]
set-variable=max_connections=500

will increase the number of connections allowed to 500. you can change this to your needs. Please note that the instruction should be placed in the [mysqld] section. Otherwise MySQL will ignore it.

After resetting this, restart mysql (you would run "service mysqld restart" as root or issue the MySQL restart via WHM).

Hope this helps.
sagoshawn is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-06-2008, 01:03 PM   #3 (permalink)
Junior Member
 
Join Date: 05-17-06
Posts: 10
iTrader: 0 / 0%
Latest Blog:
None

wideopen is liked by many
Sounds great...Problem is you lost me at "try this"

Sorry but I'm a newbie at this, go ahead throw the stones, but I don't understand what you just said.
wideopen is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-06-2008, 04:03 PM   #4 (permalink)
Junior Member
 
Join Date: 02-06-08
Location: Tampa, FL
Posts: 4
iTrader: 0 / 0%
Latest Blog:
None

sagoshawn is liked by many
Smile Server Management

I mean absolutely no offense by this. But... You might want to check with your dedicated server provider to see if they offer any management packages. You can pay for the server management and get things rolling, and learn from the tech along the way. I feel ok saying this to you because I am not a technician. So I undersatnd your situation, and server management is your best solution.

Hope this helps.
__________________
Sagoshawn
SAGO NETWORKS
Dedicated Servers- Collocation-Wireless/Broadband-Managed Clusters-2 World Class Datacenters
sagoshawn is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-06-2008, 04:06 PM   #5 (permalink)
Junior Member
 
Join Date: 05-17-06
Posts: 10
iTrader: 0 / 0%
Latest Blog:
None

wideopen is liked by many
No offence taken, But isn't that the purpose of boards such as this? So a person can learn?
wideopen is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-07-2008, 08:26 AM   #6 (permalink)
Junior Member
 
Join Date: 02-06-08
Location: Tampa, FL
Posts: 4
iTrader: 0 / 0%
Latest Blog:
None

sagoshawn is liked by many
I think you might be better servered starting here: http://mysql.com/ A more direct avenue to a solution.
__________________
Sagoshawn
SAGO NETWORKS
Dedicated Servers- Collocation-Wireless/Broadband-Managed Clusters-2 World Class Datacenters
sagoshawn is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-09-2008, 03:16 PM   #7 (permalink)
rwh
Contributing Member
 
Join Date: 02-16-04
Location: Ohio
Posts: 152
iTrader: 0 / 0%
Latest Blog:
None

rwh is on the right pathrwh is on the right pathrwh is on the right path
Send a message via ICQ to rwh Send a message via AIM to rwh Send a message via MSN to rwh Send a message via Yahoo to rwh
Login to ssh via root edit the file in etc folder

/etc/my.cnf

After making the change save and restart mysql

Joey
__________________
Affordable Web Hosting
Real Web Host
http://www.realwebhost.net
Domain names Low as 12.50 per year
rwh is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers

Reply



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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Manipulate those with business connections this Holiday season... ewomack Forum Lobby 2 11-28-2007 05:08 PM
Too many connections... Louis Web Hosting Forum 2 05-29-2006 07:42 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 04:06 AM.
© Copyright 2008 V7 Inc


Search Engine Optimization by vBSEO 3.1.0 ©2007, Crawlability, Inc.