![]() |
DB Error
I get a error and i dont know what caused it. please help.
www.centexracingscene.com/forums THanks a lot,. |
More information on the error would help.
|
I just said,i dont knwo what the error is from lol.
Thus, sayin, i dont know what caused it. |
When you get a database error, if you aren't having them mailed to you, you can View Source for the page and it will show the error at the bottom of the page:
PHP Code:
|
Ahhh thank you. So what do i need to do fix that? I have my server, a resellers.
|
Quote:
|
You need to increase the mysql_max_connections string in the mysql configuration file. If you can not do that, or do not have access to it, you'll have to try to contact your hosting company.
If they have it set as a hard limit and you can't use any more connections, you'll need to find a new host, or limit the connections some how. |
Quote:
Okay and thats located where? Quote:
Okay, i'll check that, i think i can do that. located where? |
Typically /etc/my.cnf or /etc/mysql/my.cnf
From a shell: find / -name my.cnf -print or locate my.cnf Edit my.cnf and change max_connections to a higher number, increase it by 100 and save it, then restart mysql: /etc/rc.d/init.d/mysql restart |
Hmm im lookin in my WHM, would that be it>?
and i looked in etc/.... and didnt see no cnf file. |
Quote:
Quote:
|
whm isnt going to show you the file, you need to open a shell and edit the file.
once you have edited the file restart mysql as i posted previously. you can also restart mysql in whm, if its a resellers account you may not have permissions to restart mysql |
All times are GMT. The time now is 06:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|