Re: mysqldump and auto_increment

2008-05-20 Thread Dan Lipsitt
Thanks. That sounds pretty labor intensive, since I'd have to do the copy for each table. That makes the process much harder to automate. And I'm not sure the end result would be what I wanted anyway. I would like to be able to do this without copying data around. Does anybody have another suggesti

Re: mysqldump and auto_increment

2008-05-19 Thread Moon's Father
You can import your data into a test database,then export the data using statement select ... into ... then You can complare the two. On Tue, May 20, 2008 at 9:14 AM, Dan Lipsitt <[EMAIL PROTECTED]> wrote: > Is there a set of flags for mysqldump that will include the auto_increment > specifier fo

mysqldump and auto_increment

2008-05-19 Thread Dan Lipsitt
Is there a set of flags for mysqldump that will include the auto_increment specifier for columns, but leave out the AUTO_INCREMENT=x saved values? I want to compare the schema of two versions of a database, without considering the data. In my opinion, the saved auto increment counter is part of th

mysqldump and auto_increment

2005-02-24 Thread Jim McAtee
The reason I asked about auto_increment behavior is that I'm looking at the output from mysqldump --opt and there are no commands to preserve/set the auto_increment value. Is there a mysqldump option to do this? Or will restoring from a dump always leave the auto_increment value one greater t

RE: mysqldump and auto_increment

2004-05-18 Thread DChristensen
ensen -Original Message- From: Tucker, Gabriel [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 18, 2004 11:36 AM To: Mysql General (E-mail) Cc: Philip Antoniades (E-mail) Subject: mysqldump and auto_increment Hello I am using MySQL v4.0.18. I am using the mysqldump program to do backups.

mysqldump and auto_increment

2004-05-18 Thread Tucker, Gabriel
Hello I am using MySQL v4.0.18. I am using the mysqldump program to do backups. I was wondering how, if at all, does mysqldump preserver the auto_increment value? When using phpmyadmin, there is an option to preserve the auto_increment value and the resulting file has something like: