Where is the Synology mySQL server configuration file?
Posted on 2014-01-31
Synology DSM213j with the latest DSM software update.
I need to change the max_allowed_packet from its current default value of 8388608 to 500M in order to import a SQL file.
On the Synology, I see a directory called /usr/syno/mysql/share/mysql that contains
my-small.cnf, my-medium.cnf, my-large.cnf, my-huge.cnf and my-innodb-heavy-4G.cnf
I edited the max_allowed_packet=500M on all the files.
For good measure, I copied my-small.cnf to my.cnf
and I also put a copy in /etc/my.cnf
I also restarted the mySQL server with
--> it makes no difference, SHOW VARIABLES still displays the original 8388608
? What configuration file is mySQL using on that device?