Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MySql
 Access to MySQL migration - unable to post
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

gerber1725
Starting Member

3 Posts

Posted - 29 November 2006 :  11:52:53  Show Profile  Visit gerber1725's Homepage
I spent about four very painful hours last night doing an Access to MySQL migration on my forum. At 1AM went I finally put the board live again I just clicked around and made sure all the data was there but I never tried to post anything. The forums are back down again as anytime someone tries to post they receive this error:

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[MySQL][ODBC 3.51 Driver][mysqld-4.0.23-nt]Duplicate entry '2-36-8391-0' for key 1

/forum/post_info.asp, line 981

I'm at work and don't have any ability to troubleshoot - so I thought I would ask here and see if anyone has any suggestions for me to try when I get home.

Thanks

GR

~ If you're going to be dumb, don't bother me

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 29 November 2006 :  12:18:47  Show Profile  Visit HuwR's Homepage
did you let the SNitz setup.asp create your MySQL tables ?
Go to Top of Page

gerber1725
Starting Member

3 Posts

Posted - 29 November 2006 :  19:07:50  Show Profile  Visit gerber1725's Homepage
We created the tables using setup.asp with a local copy of snitz - then exported all the access data into text files and imported those into the various tables. We then exported the entire database to a .sql file and uploaded that to the webserver.

I'll take a look at the table this line is referencing and look for duplicate key values - thanks.

GR

~ If you're going to be dumb, don't bother me
Go to Top of Page

gerber1725
Starting Member

3 Posts

Posted - 29 November 2006 :  22:05:26  Show Profile  Visit gerber1725's Homepage
We figured out the problem was that somewhere in the migration process all the auto_increment tags got lost for all the tables. So, once I set those and then updated counts everything works fine.

~ If you're going to be dumb, don't bother me
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07