Docker Mysql Konfiguration

shopuser

Member
Habe Mysql auf docker im Ubuntu 22.04.5 LTS und wollte einen Wert in der innodb ändern jedoch geht das nicht:

nach

SET innodb_lock_wait_timeout=100;

kommt wiede beim check :
SHOW VARIABLES LIKE "innodb_lock_wait_timeout";


innodb_lock_wait_timeout50
 
Last edited:
Weiß jemand ob Mysql's Docker aus /etc/my.cnf.d läd? Dann würde eine custom.cnf darin ja ausreichen (mount-bind z.B.).
 
Vielleicht so (beide Befehle!) ?

Code:
SET GLOBAL innodb_lock_wait_timeout=100;

SET SESSION innodb_lock_wait_timeout=100;
 
Last edited:
Back
Top