MySQL auto_increment 증가와 최대값
auto_increment 가 2씩 증가하는 것을 발견하여 확인 해보니,auto_increment_increment 설정이 2로 되어있어서 2씩 증가하는 것이였다.아래 처럼 SET 명령어를 통해서 auto_increment_increment를 1로 변경하면 된다. 1234567891011mysql> SHOW VARIABLES LIKE 'auto_inc%';+--------------------------+-------+| Variable_name | Value |+--------------------------+-------+| auto_increment_increment | 2 || auto_increment_offset | 1 |+--------------------------+-------+2 ro..
엔지니어링
2017. 1. 4. 18:15
warpmemory
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
페이지
TAG
- error
- example
- PowerShell
- Windows
- Python
- 외부링크
- Linux
- File
- 번역
- deview
- Ansible
- Web
- 명령어
- configuration
- mysql
- 이슈처리
- Module
- apache
- limits
- monitoring
- MariaDB
- client
- RESTful
- code
- command
- httpd
- 예제
- engineering
- 코드
- check
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함