UUID vs Auto-Increment: What Your MySQL Table Pays for the Convenience

Both work. One costs you twice the disk space and a lot more write IOPS.