I start mariadb docker with a number of important options
--connect_timeout 43200 --max_allowed_packet 1073741824 --net_read_timeout 100 --innodb_buffer_pool