The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
MySQL Error
HELP!!! Could someone help me please.
I get 4-10 of these errors daily. It got so bad one day that my site crashed. Any advice? I contact my service provider and they told me that it has to do with viewing permissions. I have no idea what to do. Anything would be of help. Database error in vBulletin : mysql_pconnect() [<a href='function.mysql-pconnect'>function.mysql-pconnect</a>]: Can't connect to MySQL server on '205.178.146.86' (4) /data/17/1/119/19/1608182/user/1733015/htdocs/fhc/includes/class_core.php on line 314 MySQL Error : Error Number : Request Date : Tuesday, May 10th 2011 @ 12:56:28 PM Error Date : Tuesday, May 10th 2011 @ 12:57:29 PM Script : http://www.fantasyhockeycoach.com/cr...and=1305046463 Referrer : http://fantasyhockeycoach.com/ IP Address : 209.121.214.47 Username : Classname : vB_Database MySQL Version : |
#2
|
||||
|
||||
What is the host service you are using? root or reseller hosting..
host of the web address from the control panel phpmyadmin , select the repair database tables. If you enter the following command from the ssh server authority. Code:
mysqlcheck -u root -p --auto-repair --check --optimize --all-databases Code:
service mysql stop service mysql start |
#3
|
|||
|
|||
Where would I enter that code? What does that do? How often should I repair or optimize the tables? Sorry still new to mysql
--------------- Added [DATE]1305221894[/DATE] at [TIME]1305221894[/TIME] --------------- I am using 50 of 300 MB is that enough or do I need more disk space? |
#4
|
||||
|
||||
You have enough disc space. When did this start to happen for the first time? Did you install any mod or did any other modifications to your forum before the error popped up?
|
#5
|
|||
|
|||
it started 6 or 7 months ago. i don't think i install or did any other modifications
|
#6
|
|||
|
|||
I got this reply from my host:
The error you are reporting is due to too many active connections to your MySQL database. If you are using mysql_pconnect(), this type of connection never closes. It is a persistent connection that stays open for later use. This can easily cause you to have too many active connections depending on how many people visit the website. We suggest you change it to mysql_connect() instead if you are using this. If you are using mysql_connect(), you may not be closing the database connection at the end of a query, please check that all connections are closed after use. Does that make sense? Where do I make those changes? Is this something I change on the config.php file? |
#7
|
||||
|
||||
What is this set to in your config.php file?
PHP Code:
|
#8
|
|||
|
|||
I have it set at 0
|
#9
|
||||
|
||||
Who is your hosting company?
|
#10
|
|||
|
|||
network solutions
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|