????
| Current Path : /etc/ |
| Current File : //etc/my.cnf |
# CloudLinux + cPanel safe my.cnf # ONLY_FULL_GROUP_BY removed # STRICT_TRANS_TABLES and other strict rules retained [mysqld] disable-log-bin=1 default-authentication-plugin=mysql_native_password performance-schema=0 # Safe SQL mode sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE # MySQL data directory & socket datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock # Error log & PID log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid # InnoDB settings innodb_buffer_pool_size=134217728 innodb_file_per_table=1 # Connection & packet settings max_allowed_packet=268435456 open_files_limit=40000 # Disable MySQLX (if not used) mysqlx=0 # Other performance tuning (optional, uncomment if needed) # join_buffer_size = 128M # sort_buffer_size = 2M # read_rnd_buffer_size = 2M