mySQL 백업시 아래와 같은 에러가 나타날 경우가 있다.

mysqldump: Got error: 1016: Can't open file: './mydb/mytable.frm' (errno: 24) when using LOCK TABLES


백업 시에 열수 있는 파일의 제한 때문에 출력되는 에러이다. 아래와 같이 my.cnf 파일에서 [mysqld]세션에 아래와 같이 내용을 추가 또는 수정.

open-files-limit=15000


+ Recent posts