New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Where is my.ini file in cwp?

Started by megaster55, April 02, 2025, 07:38:26 PM

Previous topic - Next topic

megaster55

I get an error like this. "max_allowed_packet, net_read_timeout or net_write_timeout" I need to change the settings. In my.cnf file it just says "!includedir /etc/my.cnf.d"

MySQL Error   : MySQL server has gone away
Error Number  : 2006

cyberspace

Hi,

Manage the MySQL/MariaDB settings via the file:
/etc/my.cnf.d/server.cnf

megaster55

Quote from: cyberspace on April 04, 2025, 04:17:03 PM
Hi,

Manage the MySQL/MariaDB settings via the file:
/etc/my.cnf.d/server.cnf

There is no such setting in this file, none of the values ​​I mentioned exist

cyberspace

Add the necessary params with values into the section [server].

MySQL/MariaDB has a lot of settings and there is no sense to put all of them into the file because it will make the file very big.