正文

MySQL默认配置文件中设置CPU核心数的方法:解析mysqld.cnf配置文件,找到[mysqld]部分,设置`cpu_count`或`thread_concurrency`参数值为你的CPU核心数。