Solution to mysqldump error caused by too many files opened in MySQL database

Source: Internet
Author: User

MySQL databaseIf a fault occurs during useMysqldumpError:

1: run the mysqldump command to dump the entire database:

  1. Mysqldump: Got error: 1105: File './db/data_20070901.myd' not found (Errcode: 24) when using LOCK TABLES

2: Check whether the files under/data/db are missing. Using the mysql client to connect to the desc and select * from table is normal. If you use the dump command to directly dump this table, no error will occur.

Perror 24 indicates that the error message is:

  1. [Root @ localhost ~] # Perror 24
  3. OS error code 24: Too enabled open files

Therefore, modify/etc/my. cnf and set open_files_limit to a greater limit, for example, 4096. Restart mysqld to solve the problem.

The mysqldump fault solution for MySQL databases is introduced here. If you want to know

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.