List:General Discussion« Previous MessageNext Message »
From:hong Date:March 14 1999 8:34am
Subject:Problem w/ Auto-Incrementing Column
View as plain text  
>Description:
	Importing member ID information from flat file into db table w/
	auto-incrementing field, using load data infile or mysqlimport,
	encounter ERROR 1062: Duplicate entry '379138' for key 1
>How-To-Repeat:
	import data file again
>Fix:
	Force assign a non-sequential number like 379139 to the original
	value

>Submitter-Id:	<submitter ID>
>Originator:	
	Jack Hong
>Organization:
	SINANET.com
	Registration Number: 57
	Expiration Date: 1999-04-07
>MySQL support: email support
>Synopsis:	stuck auto-increment value
>Severity:	critical
>Priority:	high
>Category:	mysql
>Class:		support
>Release:	mysql-3.22.14b-gamma (Source distribution)
>Server: /usr/bin/mysqladmin  Ver 7.8 Distrib 3.22.14b-gamma, for pc-linux-gnu on i686
TCX Datakonsult AB, by Monty

Server version		3.22.14b-gamma
Protocol version	10
Connection		Localhost via UNIX socket
UNIX socket		/var/run/mysql.sock
Uptime:			19 min 52 sec

Threads: 11  Questions: 4104  Slow queries: 0  Opens: 16  Flush tables: 1  Open tables: 12
>Environment:
	
System: Linux nz.sinanet.com 2.0.36 #1 Wed Jan 20 16:46:10 PST 1999 i686 unknown
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs
gcc version 2.7.2.3
Compilation info: CC='gcc'  CFLAGS='-O6 -fomit-frame-pointer'  CXX='c++'  CXXFLAGS='' 
LDFLAGS=''
Configure command: ./configure  --prefix=/usr --with-unix-socket-path=/var/run/mysql.sock
--enable-assembler --with-mysqld-ldflags=-all-static
Perl: This is perl, version 5.005_02 built for i686-linux
Thread
Problem w/ Auto-Incrementing Columnhong14 Mar