This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
The community reviewed whether to reopen this question 2 years ago and left it closed:
Original close reason(s) were not resolved
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(8)
刚刚找到了,是/etc/my.cnf
Just found it, it is /etc/my.cnf
您想要的信息可以通过运行找到
,或者
我尝试过:
输出:
The information you want can be found by running
or
I tried this :
And the output:
它位于
/etc/mysql/my.cnf
it is located at
/etc/mysql/my.cnf
所有这些似乎都是不错的候选者:
检查系统进程列表
在许多情况下,您可以简单地使用 ps: Output
Or
then
All of them seemed good candidates:
in many cases you could simply check system process list using ps:
Output
Or
Then
默认选项按给定顺序从以下文件中读取:
Default options are read from the following files in the given order:
在 RH 系统上,MySQL 配置文件默认位于 /etc/my.cnf 下。
On RH systems, MySQL configuration file is located under /etc/my.cnf by default.
在 docker 容器(基于 centos 的镜像)中,它位于
/etc/mysql/my.cnf
In the docker containers(centos based images) it is located at
/etc/mysql/my.cnf
从“/etc/mysql/my.cnf”的标头:
From the header of '/etc/mysql/my.cnf':