linux下mysql5.7怎么修改最大连接数
网上都是5.5,5.6的修改/etc/mysql/my.cnf 或者ini 的max_connections,但我的my.cnf里什么都没有
5.7的
show variables like '%max_connections%';默认是151,
我修改的是/etc/mysql/mysql.conf.d/mysqld.cnf
max_connections=1000
但是show variables like '%max_connections%'只显示214,为什么
我想永久修改成1000怎么办,谢大神