Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.