I have a Galera MariaDB cluster (3 nodes), I set uid to auto-grow and became the main key of the table as
`uid | int(11) | NO | PRI | NULL | auto_increment`. MariaDB [hello_cluster]> select uid from table order by uid limit 10; +-----+ | uid | +-----+ | 3 | | 6 | | 9 | | 12 | | 15 | | 18 | | 21 | | 24 | | 27 | | 30 | +-----+
I tried the following command and it does not work
alter table uid AUTO_INCREMENT=1
source share