mysqldump: Got error: 23: Out of resources when opening file ‘./mydb/tax_calculation_rate_title.MYD’ (Errcode: 24) when using LOCK TABLES

看到这个后,我比较奇怪,备份时锁定表却出错,关键是这个数据库现在也没被使用啊

后来到网上查查找到了原因

在mysql配置文件 my.cnf 中 找到

open_files_limit

增加它的值就行了

我的原来是 open_files_limit = 600

后来给修改成 open_files_limit = 1024

就OK了,如果还不行的话,就慢慢加大这个数值

相关文章:

  • 2021-07-17
  • 2021-11-11
  • 2022-12-23
  • 2022-03-04
  • 2023-01-04
  • 2021-12-23
  • 2022-12-23
  • 2021-07-14
猜你喜欢
  • 2021-10-06
  • 2021-11-13
  • 2022-01-22
  • 2022-02-22
  • 2022-12-23
  • 2021-12-18
  • 2021-06-28
相关资源
相似解决方案