We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 39023
    • 3 Posts
    Помогите разобраться почему индексы всех элементов и ресурсов в админке "шагают" по 10
    и с 6-ки
      • 31246 ☆ 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