Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- MOUNT
- 라라벨
- tw_cli
- nateon
- ubuntu
- AIR
- fstab
- MySQL
- httpd.conf
- xampp
- APM
- Subversion
- php
- VMware
- Linux
- Trac
- Fedora
- VirtualBox
- BIND
- GlusterFS
- redmine
- Network
- exception
- vsftpd
- CentOS
- ftp
- php5
- Laravel
- 명령어
- JavaScript
Archives
- Today
- Total
어제와 똑같이 살면서 다른 미래를 기대하지 말자
[mysql] ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction 본문
IT관심분야/Database
[mysql] ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction
플랜액터 2013. 4. 19. 14:03많은 수의 row를 삭제한다거나 할 경우 아래와 같은 에러가 발생할 수 있다...
ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction
1. 현재설정 확인
$ show variables like 'innodb_lock_wait_timeout';
2. 재설정 (원하는 시간만큼 설정)
$ set innodb_lock_wait_timeout=100;
3. 재설정 확인
$ show variables like 'innodb_lock_wait_timeout';
2번에서 에러가 발생할 경우 my.cnf 에서 수정을 해줘야 함.. (동적으로 변경되지 않을경우)
ERROR 1238 (HY000): Variable 'innodb_lock_wait_timeout' is a read only variable
http://dev.mysql.com/doc/innodb/1.1/en/innodb-other-changes-innodb_lock_wait_timeout.html
ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction
1. 현재설정 확인
$ show variables like 'innodb_lock_wait_timeout';
2. 재설정 (원하는 시간만큼 설정)
$ set innodb_lock_wait_timeout=100;
3. 재설정 확인
$ show variables like 'innodb_lock_wait_timeout';
2번에서 에러가 발생할 경우 my.cnf 에서 수정을 해줘야 함.. (동적으로 변경되지 않을경우)
ERROR 1238 (HY000): Variable 'innodb_lock_wait_timeout' is a read only variable
http://dev.mysql.com/doc/innodb/1.1/en/innodb-other-changes-innodb_lock_wait_timeout.html
'IT관심분야 > Database' 카테고리의 다른 글
Mysql 데이터베이스 계정 생성 및 권한부여 (0) | 2021.04.22 |
---|---|
[mysql] ERROR 1418 발생 시 (0) | 2014.01.28 |
Comments