my.ini是MySQL数据库中使用的配置文件,修改这个文件可以达到更新配置的目的。 4 # The following options will be read by MySQL client applications.
5 # Note that only client applications shipped by MySQL are guaranteed
6 # to read this section. If you want your own MySQL client progr
目录
MySQL配置文件my.ini或my.cnf的位置
show status 与show variables 区别
1、show status
2、show variables
根据status状态对Mysql数据库进行优化:
1、连接数
1.1 show variables like ‘max_connections’;
1.2、 show global status like ‘Max_used_connections’;
1.3、设置最大连接数值方法:
mys