Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MySQL でマスター/スレーブ構成を使用しています。今度はテーブルを作成する必要があるので、実行します
FLUSH TABLES WITH READ LOCK;
master データベースで、その後、実行しようとしてCREATE TABLE...いますが、機能しません。私は得る:
CREATE TABLE...
エラー「読み取りロックが競合しているため、クエリを実行できません」
何か案が?
最後に私はそれを解決しました。
理由はわかりませんが、services.msc で MySQL プロセスを強制終了し、再起動すると動作します。