S shopuser Member Feb 26, 2025 #1 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: Feb 26, 2025
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
nexus Well-Known Member Feb 26, 2025 #2 shopuser said: SET innodb_lock_wait_timeout=100; Click to expand... So setzt du den Wert nur für die aktuelle Session. Wenn du es persistent haben willst, mußt du den Wert über die Konfig (my.cnf) ändern.
shopuser said: SET innodb_lock_wait_timeout=100; Click to expand... So setzt du den Wert nur für die aktuelle Session. Wenn du es persistent haben willst, mußt du den Wert über die Konfig (my.cnf) ändern.
MadMakz Active Member Feb 26, 2025 #3 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.).
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.).
D Deleted member 16573 Guest Feb 26, 2025 #4 Vielleicht so (beide Befehle!) ? Code: SET GLOBAL innodb_lock_wait_timeout=100; SET SESSION innodb_lock_wait_timeout=100; Last edited by a moderator: Feb 26, 2025
Vielleicht so (beide Befehle!) ? Code: SET GLOBAL innodb_lock_wait_timeout=100; SET SESSION innodb_lock_wait_timeout=100;