gpt4 book ai didi

mysql - 错误代码 : 23 Out of resources when opening file

转载 作者:可可西里 更新时间:2023-11-01 06:32:35 52 4
gpt4 key购买 nike

当我在 MySQL 中执行查询时,出现此错误:

Error Code: 23
Out of resources when opening file '.\test\sample_table#P#p364.MYD' (Errcode: 24 - Too many open files)

MySQL 版本详情:

VERSION                   5.6.21 
version_comment MySQL Community SERVER (GPL)
version_compile_machine x86_64
version_compile_os Win64

如何解决这个问题?

最佳答案

mysql error: Out of resources when opening file... (Errcode: 24) 表示超过了msyql允许打开的文件数。

此限制由变量 open_files_limit 控制。您可以在 phpMyAdmin(或 MySQL 命令行实用程序)中使用以下语句阅读此内容:

SHOW VARIABLES LIKE 'open%'

要将此变量设置为更大的数字,请编辑/etc/my.cnf 文件并添加以下行:

[mysqld]
open_files_limit = 5000

关于mysql - 错误代码 : 23 Out of resources when opening file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31645700/

52 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com