In MySQL, ho una tabella e voglio impostare il auto_incrementvalore su 5invece di 1. È possibile e quale istruzione di query fa questo?
You can change this option with ALTER TABLE, but in that case the new value must be higher than the highest value which is present in the AUTO_INCREMENT column. source Se non esiste un valore superiore a quello che si desidera impostare la auto_incrementcolonna ed, è possibile anche ridurre il valore. ( documentazione mysql )
