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
- 명령어
- client
- 번역
- monitoring
- httpd
- Module
- Web
- File
- 코드
- Linux
- example
- Ansible
- PowerShell
- 이슈처리
- deview
- 외부링크
- RESTful
- MariaDB
- Windows
- code
- limits
- command
- 예제
- configuration
- Python
- engineering
- mysql
- error
- apache
- 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 |
글 보관함