Jump to content

auto_increment problem


modcar

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.