troubleshooting Question

Starting number in MYSQL auto inc field

Avatar of jonofat
jonofat asked on
PHPMySQL Server
4 Comments1 Solution469 ViewsLast Modified:
If someone inserts a record it starts at 1 and then every record there increases by one automatically so, 2, 3, 4 and so on. Is there a way to make it start at 17589 and then just auto inc from there ie: 17589 then next record will be 17590 and so on. If i try type 17589 as a default value for this column in the table it gives me an error and won't let me save it like that.
ASKER CERTIFIED SOLUTION
Vampireofdarkness

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros