1

私は、社内の多くの人が共有するサーバーで作業しています。サーバーには複数の DB があり、私はサーバーを制御していません。

システム管理者は、autocommit を false に設定してデフォルトを設定しました。これにより、PHPMYADMIN を使用しようとすると問題が発生します。

サーバー上の他の DB に影響を与えることなく、autocommit を安全に true に設定できますか? はいと思いますが、間違った場合の影響は他のユーザーに悪影響を与える可能性があります.

4

1 に答える 1

2

You can set autocommit with

SET SESSION autocommit = 1;

so that it only affects your current connection, but this setting is not saved. Every time you reload or switch a site in PHPMyAdmin, this setting is reverted.

Setting it globally, which is the only other option, would change it for all users.

于 2014-05-23T13:15:23.650 に答える