MySQL

 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Tutorialized ForumsDatabasesMySQL

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
  #1  
Old April 9th, 2013, 09:19 AM
mfbrowne mfbrowne is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Apr 2013
Posts: 2 mfbrowne User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 40 sec
Reputation Power: 0
Having trouble with index

Hello,

I am trying to add a record to a database and I am getting this error:

[MySQL][ODBC 3.51 Driver][mysqld-4.1.22-community-nt]Duplicate entry '' for key 2

Now I do have an index on the table but as far as I know I only have a primary key index on the record number. Now with this error I do not understand what is being referenced by key 2. Is there a way for me to determine what key 2 is?

Thanks for any information

Mike

Reply With Quote
  #2  
Old April 10th, 2013, 07:45 AM
mfbrowne mfbrowne is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Apr 2013
Posts: 2 mfbrowne User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 40 sec
Reputation Power: 0
Does anyone have any guidance on this issue.

Thanks
Mike


Quote:
Originally Posted by mfbrowne
Hello,

I am trying to add a record to a database and I am getting this error:

[MySQL][ODBC 3.51 Driver][mysqld-4.1.22-community-nt]Duplicate entry '' for key 2

Now I do have an index on the table but as far as I know I only have a primary key index on the record number. Now with this error I do not understand what is being referenced by key 2. Is there a way for me to determine what key 2 is?

Thanks for any information

Mike

Reply With Quote
Reply

Viewing: Tutorialized ForumsDatabasesMySQL > Having trouble with index


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap