mysql> UPDATE performance_schema. setup_consumers SET ENABLED = ‘OFF’ WHERE NAME LIKE ‘events_transactions%’;
ERROR 1265 (01000): Data truncated for column ‘ENABLED’ at row 7
mysql> show create table performance_schema. setup_consumers \G
*************************** 1. row ***************************
Table: setup_consumers
Create Table: CREATE TABLE `setup_consumers` (
`NAME` varchar(64) NOT NULL,
`ENABLED` enum(‘YES’,’NO’) NOT NULL
) ENGINE=PERFORMANCE_SCHEMA DEFAULT CHARSET=utf8
1 row in set (0.00 sec)
It turns out that ENABLED is an enumeration type, where only the YES,NO.
mysql> UPDATE performance_schema. setup_consumers SET
ENABLED = ‘NO’ WHERE NAME LIKE ‘events_transactions%’;
Read More:
- Mysql Script Error Code: 1136. Column count doesn’t match value count at row 1
- Solve ERROR 1136 (21S01) in Mysql: Column count doesn’t match value count at row 1
- [Solved] Mysql Error: [Err] 1136 – Column count doesn‘t match value count at row 1
- Error 1406 (22001) in MySQL: data too long for column (Fixed)
- ERROR 1261 (01000): Row 1 doesn‘t contain data for all columns
- [Solved] ERROR 1054 (42S22): Unknown column ‘password‘ in ‘field list‘
- ERROR 1075 (42000) Incorrect table definition; there can be only one auto column and it must be defi
- ERROR 1054(42S22) Unknown column ‘password’ in ‘field list’ (Fixed)
- SQL Server Group sort de duplication row_ number() over ( PARTITION BY t1.col_ 2 ORDER BY 1 )
- [Solved] Daily further: database error: unknown column ‘model’ in ‘field list‘
- Mysql5.7.18.1 Error 1054 (42S22): Unknown Column’password’ In’field List’ When Changing User Password
- [Solved]Error 1054 (42s22): unknown column ‘password’ in ‘field list’ how to modify the password
- How to Solve “Out of range value for column” Error
- [Solved] pymysql.err.internalError: (1054, “Unknown column ‘LGD_xiaohong’ in ‘field list’”)
- [Solved] Worker 1 failed executing transaction ‘ANONYMOUS‘ at master log mall-mysql-bin.000001, end_log_pos
- [Solved] com.mysql.jdbc.MysqlDataTruncation: Data truncation xxxx
- postgresql-Database query problem-ERROR: column “t.domainid“ must appear in the GROUP BY clause or be used in an a
- How to Solve Mysql8 load data error