diff --git a/adminer/drivers/mysql.inc.php b/adminer/drivers/mysql.inc.php index fe8d17b7..daabae7a 100644 --- a/adminer/drivers/mysql.inc.php +++ b/adminer/drivers/mysql.inc.php @@ -250,7 +250,7 @@ if (!defined("DRIVER")) { $connection = new Min_DB; $credentials = $adminer->credentials(); if ($connection->connect($credentials[0], $credentials[1], $credentials[2])) { - $connection->query("SET sql_quote_show_create = 1"); + $connection->query("SET sql_quote_show_create = 1, autocommit = 1"); return $connection; } $return = $connection->error; diff --git a/changes.txt b/changes.txt index efc81a15..b2c01528 100644 --- a/changes.txt +++ b/changes.txt @@ -5,6 +5,7 @@ Ctrl+click on button opens form to blank window SET DEFAULT foreign key action Trim table and column names (bug #3405309) Error message with no response from server in AJAX +MySQL: set autocommit after connect PostgreSQL: fix alter foreign key PostgreSQL over PDO: connect if the eponymous database does not exist (bug #3391619) Boolean search (Editor)