-
☆ A M B ☆
- 428 Posts
auto_increment_increment — указывает шаг приращения.
Поменять можно 2 путями — только на время работы сервера БД (до перезагрузки) и навсегда — смена конфигурационного файла
1 путь :
SET @@auto_increment_increment=5; SET @@auto_increment_offset=1;
2 путь в файле my.ini / my.cnf пишем строки :
auto_increment_increment=5;
auto_increment_offset=1;
Более детальней об изменении AUTO_INCREMENT читать тут.
http://dev.mysql.com/doc/refman/5.1/en/replication-options-master.html#sysvar_auto_increment_increment
Valentin Rasulov - Industrial design (Hobbies - Web Development)
Development not standard projects on CMF MODx Revolution.
Small sample of extensions