rafael.martinez

Active Member
Jan 15, 2021
41
7
8
El Salvador
cPanel Access Level
Root Administrator
I am trying to limit the MySQL queries on my dedicated server, I have read in the forum that it can be done through /etc/my.cnf, but when I see the file, the option max_user_connections does not appear, what it shows me is:

Code:
[mysqld]
performance-schema=0
thread_cache_size = 2
query_cache_size = 32M
table_open_cache=128
max_allowed_packet=268435456
open_files_limit=40000
innodb_file_per_table=1
the version of Cpanel / WHM that I use is:
CENTOS 7.9 v96.0.11

I need a maximum of 15 queries to be handled
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,634
2,629
363
cPanel Access Level
Root Administrator
Hey there! The automatically-created MySQL configuration file doesn't have all the options that are possible. You can add any options to that file that MySQL supports, but you'll just want to restart the MySQL service after your changes so the new configuration takes effect.