![]() |
|
|
|
|
|||||||
| PHP / MySQL Assistance We understand. Not all of you are experienced programmers, but some of you are highly skilled at coding. So we've set aside this forum so you can ask questions, and provide answers to the most commonly asked PHP / MySQL issues. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Today the VPS has gone down numerous times. When it went back up one of my forums produced an error every time someone tried to post a new message in the forum. I run several forums but it is only happening to one.
The error reads... MySQL Error : Duplicate entry '67198' for key 1 Error Number : 1062 Someone told me it has to do with Making sure the autoincrement value is higher than the highest used postid. but that is alll greek to me Any ideas? |
|
#2
|
||||
|
||||
|
Check 'Announcements' section.
P.S. You'll find the answer. |
|
#3
|
|||
|
|||
|
That was at 10:30 this morning. The server was back up running since then
|
|
#4
|
||||
|
||||
|
Quote:
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket. |
|
#5
|
|||
|
|||
|
I had to go into cpanel - myphpAdmin and into the databse for that forum and go into th epost table. Form there I had to find the highest post id being used (in this case 67198) - same as in error code.
I then had to go into the operations tab of the post table and set the auto incriment to 1 digit higher than the highest post id so I set the auto incriment at 67199 but it didnt resolve the problem. On a guess I went one higher 67200 and then everything went back to working. |
![]() |
| Tags |
| error, mysql |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Upgrade MySQL From 4.2.2 To 5.x: Do I Dare? | itwasntme | Virtual Private Servers (VPS) | 4 | 09-22-2008 11:05 AM |
| How To: MySQL Error "Access denied for user..." | lnxcode | Virtual Private Servers (VPS) | 3 | 07-10-2008 10:42 PM |
| Apache-WHM Parsing Error (1 change per session) | marcOpolo | Virtual Private Servers (VPS) | 0 | 01-29-2008 08:26 PM |
| Cannot Allocate Memory Error | itwasntme | Virtual Private Servers (VPS) | 10 | 10-26-2007 03:18 PM |
| CGI error | domz | Shared Hosting | 3 | 10-04-2007 04:10 AM |