Log in

View Full Version : Database Problem


captainron19
06-12-2008, 07:57 PM
Today my VPS Server went down. Ever since it has gotten back up and running I am receiving database errors when someone tries to create a post.

I contacted the server company and they stated they restarted the VPS but they can do nothing about the database since it is MYSQL and it is above their control.

Can anyone offer any suggestions? The error I receive is as follows: ....

Database error in vBulletin 3.7.1:

Invalid SQL:
MySQL Error : Duplicate entry '67198' for key 1
Error Number : 1062
Request Date : Thursday, June 12th 2008 @ 04:45:42 PM
Error Date : Thursday, June 12th 2008 @ 04:45:44 PM

Opserty
06-12-2008, 09:47 PM
Is that the complete error? (Copy and Paste it from the error page, View the HTML source if the full message isn't displayed)

(Be sure to censor your IP address. )

captainron19
06-12-2008, 10:37 PM
Here is the full error

Database error in vBulletin 3.7.1:

Invalid SQL:
INSERT INTO post
(showsignature, allowsmilie, username, userid, title, pagetext, iconid, visible, parentid, threadid, dateline, ipaddress, attach)
VALUES
(0, 1, 'DisneyFan101', 409, '', '\"And talk to me for hours\".', 0, 1, 67130, 75, 1213312640, '* removed *', 0);

MySQL Error : Duplicate entry '67198' for key 1
Error Number : 1062
Request Date : Thursday, June 12th 2008 @ 07:17:20 PM
Error Date : Thursday, June 12th 2008 @ 07:17:20 PM
Script : http://disney-forums.com/forums/newreply.php?do=postreply&t=75
Referrer : http://disney-forums.com/forums/newreply.php?do=newreply&noquote=1&p=67130
IP Address : xxxxx
Username : DisneyFan101
Classname : vB_Database
MySQL Version :

Marco van Herwaarden
06-13-2008, 09:23 AM
AdminCP -> Maintenance -> Repair / Optimize Tables -> Fix Unique Indexes