Redmine のチケットを復活させた ときに、誤ってissuesテーブルに違うtsvを食わせてしまい、ゴミデータを追加してauto_incrementの数字を大きくしてしまった。 手動で直したので、そのときの手順。 手順 状況確認 Auto_increment列をみる。 show table status like 'issues'\G; mysql> show table status like 'issues'\G; *************************** 1. row *************************** Name: issues Engine: InnoDB Version: 10 Row_format: Compact Rows: 4713 Avg_row_length: 1004 Data_length: 4734976 Max_data_l