This is a discussion on osc 2.2 to oscmax database conversion within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Hello, I'm using MySQLDiff to convert an existing osc database to oscmax and have this sql error when running the ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello, I'm using MySQLDiff to convert an existing osc database to oscmax and have this sql error when running the script generated by mysqldiff. ALTER TABLE address_book ADD entry_company_tax_id varchar( 32 ) NULL DEFAULT NULL COMMENT '' COLLATE latin1_swedish_ci AFTER entry_company, DROP PRIMARY KEY , ADD PRIMARY KEY ( address_book_id ) MySQL said: Documentation #1062 - Duplicate entry '1' for key 1 any way around this? I'm not an SQL expert. Thanks! Sean |
|
#2
| ||||
| ||||
| Remove the DROP and ADD lines. Not needed as the Primary key is already (or should be) address_book_id. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how do i convert oscommerce database backups to oscmax? | chuan | osCMax v2 Installation issues | 1 | 10-07-2006 06:43 PM |
| Large conversion of OSCMAX Questions | spottedhaggis | osCMax v2 Customization/Mods | 2 | 02-22-2006 09:08 AM |
| Point of Sale program that will use Oscmax database? | Redeye_Joe | osCMax v2 Customization/Mods | 3 | 02-08-2006 12:18 AM |
| OSCMax v2 - Stuck on New Installation Database Import | Geno11x11 | osCMax v2 Installation issues | 2 | 12-04-2005 10:27 AM |