Web Hosting Talk







View Full Version : MySQL Auto Increment Failure


NewRaqUser
07-12-2002, 05:05 AM
I have a database running on a Raq 4 with MySQL 3.23.37 and phpMyAdmin.

The database is fine for a while (weeks) with the user adding records then after a time the db seems to 'forget' the next autoindex number, thus giving 'duplicate value in field' results when trying to add a new record.

Anyone got any bright ideas? It's driving me potty

blacknight
07-12-2002, 05:10 AM
It sounds like a problem with the script your using more than MySQL itself.
I've a number of databases that use an auto-increment and have never had any problems of this nature

NewRaqUser
07-12-2002, 05:13 AM
blacknight, I thought that as well - but the problem even occurs if I use phpMyAdmin to insert row :-(

blacknight
07-12-2002, 05:20 AM
You've lost me then :-(
Sorry!