LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-20-2003, 01:08 PM   #1
hydro
Member
 
Registered: Feb 2003
Distribution: Slackware 9.0
Posts: 82

Rep: Reputation: 15
mysql dupe entry error, how to avoid?


This is the currernt table strucure

PHP Code:
CREATE TABLE games_developers (
  
developers_id int(5NOT NULL auto_increment,
  
developers_name varchar(255NOT NULL default ' ',
  
language_id int(5NOT NULL default '0',
  
PRIMARY KEY  (developers_id,language_id)
TYPE=MyISAM
Somone moron designed the table this way, and entries are like

3, Bla bla, 0
3, Bla Bla in some other language, 1

Around 400 entires.

Now i need to move the database, so I dump it out, and try to import it into a new database. but I get dupe error

ERROR 1062 at line 720: Duplicate entry '219-1' for key 1

the import file is over 26mgs , and alot of dupes like those aboves. How can I avoid those errors and have my db like the old one
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM
mysql entry problems atheist Programming 1 09-04-2004 06:06 PM
<br> in mysql entry Boby Programming 2 05-08-2004 11:50 AM
mysql entry in catalina.policy when using security option gschrade Linux - Software 5 03-23-2004 12:23 PM
DNS ENTRY - aVOID GOING THROUGH PROXY IN Internet explorer basbosco Linux - Networking 2 03-09-2004 01:23 PM


All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration