ERROR 1786 (HY000): Statement violates GTID consistency: CREATE TABLE ... SELECT
在執行如下語句:
create table gltable select * from mysql.user;
報錯如下:
ERROR 1786 (HY000): Statement violates GTID consistency: CREATE TABLE ... SELECT
這是因為MySQL GTID有一些場景限制, GTID中create 語句限制的解法
用MySQL特有的用法 like,比如:
create table gltable like mysql.user;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20893244/viewspace-2222227/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ERROR 1114 (HY000) The table '' is fullError
- SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-preparedSQLError
- 【SQL】14 UNION 操作符、SELECT INTO 語句、INSERT INTO SELECT 語句、CREATE DATABASE 語句、CREATE TABLE 語句SQLDatabase
- ERROR 1840 (HY000) at line 24: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAError
- create table 使用select查詢語句建立表的方法分享
- MySQL建立使用者報錯 ERROR 1396 (HY000): Operation CREATE USER failed for 'afei'@'%'MySqlErrorAI
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- Oracle table selectOracle
- create table,show tables,describe table,DROP TABLE,ALTER TABLE ,怎麼使用?
- Error!: SQLSTATE[HY000] [2002] Connection refusedErrorSQL
- ERROR 1290 (HY000): The MySQL server is running withErrorMySqlServer
- ERROR 1290 (HY000) 解決辦法Error
- MySQL5.6 create table原理分析MySql
- 解決ERROR 1030 (HY000): Got error 168 from storage engine apparmorErrorGoAPP
- Mysql連線錯誤ERROR 2003 (HY000)MySqlError
- Fatal error in launcher: Unable to create process using '"'Error
- MySQL的create table as 與 like區別MySql
- use azure data studio to create external table for oracleOracle
- 【MySQL】ERROR 1878 (HY000): Temporary file write failure.MySqlErrorAI
- ERROR 1410 (42000): You are not allowed to create a user with GRANTError
- ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization paErrorMySqlServer
- GTID複製報錯處理:Last_Error: Error 'Can't drop database 'test';ASTErrorDatabase
- [20221227]a mutating table error without a trigger!.txtError
- oracle 19c 無法create table解決Oracle
- Bootstrap select2 ,table, 清空表單formbootORM
- 帶allow-create的el-select限制長度
- 阿里雲mysql遠端登入報ERROR 2027(HY000)阿里MySqlError
- MySQL 報錯 ERROR 1290 (HY000): running with the --secure-file-privMySqlError
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables optErrorMySqlServer
- 關於 mysql 中的 select * from table_a,table_b 的問題MySql
- 【MySQL】ERROR 1290 (HY000): --secure-file-priv--匯出報錯MySqlError
- MySQL5.7叢集(MGR)啟動報ERROR 3092 (HY000)MySqlError
- MySQL報錯ERROR 2013 (HY000): Lost connection to MySQL server during queryMySqlErrorServer
- MySQL案例02:ERROR 1221 (HY000): Incorrect usage of DB GRANT and GLOBAL PRIVILEGESMySqlError
- MySQL 使用 show tables 時出現 ERROR 1449 (HY000) 問題MySqlError
- 洛谷P1786
- mysql 5.6.25報錯ERROR 1372 (HY000): Password hash 的一點思考MySqlError
- mysql無法建立儲存過程問題 ERROR 1307 (HY000)MySql儲存過程Error