Pandareen Posted January 1, 2012 Share Posted January 1, 2012 Hello, how can i reset Auto_increment to 0? because i've made some tests with my database and now may entrys start from value 19.. Quote Link to comment https://forums.phpfreaks.com/topic/254161-auto_increment-problem/ Share on other sites More sharing options...
mika Posted January 1, 2012 Share Posted January 1, 2012 ALTER TABLE tablename AUTO_INCREMENT = 1 Quote Link to comment https://forums.phpfreaks.com/topic/254161-auto_increment-problem/#findComment-1303031 Share on other sites More sharing options...
Pandareen Posted January 1, 2012 Author Share Posted January 1, 2012 It worked! problem solved Quote Link to comment https://forums.phpfreaks.com/topic/254161-auto_increment-problem/#findComment-1303032 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.