pymysql.err.OperationalError: (1507, ‘Error in list of partitions to DROP‘)
pymysql.err.OperationalError: (1507, 'Error in list of partitions to DROP') 是因为分区不存在mysql查询分区表f"select PARTITION_NAME from information_schema.partitions where table_name = 'table_name' and table_schema='my_database';"需要指定table_name 和 table_schema
原创
2022-03-23 18:01:28 ·
1682 阅读 ·
0 评论