- Warning: This can cause long running
mysqldumpcommands to stop too soon.
/etc/mysql/mysql.conf.d/mysqld.cnf and add a
max_execution_time line to the mysqld section
In general this file is loaded because
/etc/mysql/my.cnf includes it.
/etc/mysql/conf.d/ is client settings
/etc/mysql/mysql.conf.d/ is server settings (like timeout).
I like this because occassionally some user will come up with an API request that triggers a query which takes hours and this will lockup the whole server until I fix it manually.