modcar Posted April 24, 2010 Share Posted April 24, 2010 MYSQL v4.1 running on Server 2003 SP2 Randomly, on one database (so far noticed) the auto_increment is reset to 0 I thought it was the way its being backed up mysqldump -u db_user -pdb_pass --all-databases > d:\backups\mysql\all-db.sql backups are done every day, and issue is not coming up every day The only piece of code that inserts into that table is $sql="INSERT INTO reg_step_1 VALUES ('','title','first','last','phone1','phone2','email','username','password','address1','address2','city','postcode','p_address1','p_address2','p_city','p_postcode','referred','reged_cars','date')"; Link to comment https://forums.phpfreaks.com/topic/199581-auto_increment-problem/ Share on other sites More sharing options...
Mchl Posted April 24, 2010 Share Posted April 24, 2010 MySQL 4.x is no longer supported. It's high time you upgraded. Please paste here table structure. Link to comment https://forums.phpfreaks.com/topic/199581-auto_increment-problem/#findComment-1047583 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.