SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Need to help someone with MySQL
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aged Yak Warrior

United Kingdom
529 Posts

Posted - 08/12/2013 :  06:55:06  Show Profile  Reply with Quote
I have a server running vbulletin and it had a power outage this morning, I now have a situation where the server is reporting the following:

Database error in vBulletin 3.8.2:

Invalid SQL:

(userid, ipaddress, personal,
searchuser, forumchoice,
sortby, sortorder, searchtime,
showposts, orderedids, dateline,
displayterms, searchhash, completed)
(4, '', 1,
'rf860', '',
'post.dateline', 'DESC', 0.23376,
1, (Removed some code here to be able to post this)

Edited by - mikebird on 08/12/2013 07:35:28

Flowing Fount of Yak Knowledge

2240 Posts

Posted - 08/12/2013 :  07:04:02  Show Profile  Reply with Quote
MySQL Error : Duplicate entry '21080356' for key 'PRIMARY'
here Error message is self exploratory....
You are trying to insert 21080356 to primary key column which is already exist in the table...
In your code we haven't seen 21080356 value... I think some where else that error caused...

Note: Any way this is SQL Server forum. So you can get quick response by posting in the relevant form like www.dbforums.com

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000