osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

osc 2.2 to oscmax database conversion

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-15-2007, 12:05 PM
Lurker
 
Join Date: May 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
sstrycker
Default osc 2.2 to oscmax database conversion

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 03-18-2007, 04:02 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,584
Thanks: 1
Thanked 84 Times in 71 Posts
Rep Power: 10
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default Re: osc 2.2 to oscmax database conversion

Remove the DROP and ADD lines. Not needed as the Primary key is already (or should be) address_book_id.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 06:35 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax