goInception
goInception copied to clipboard
一个集审核、执行、备份及生成回滚语句于一身的MySQL运维工具
**描述您想要的功能:** 移除这个error:索引长度不能超过767或3072,由实际mysql的innodb_large_prefix决定 **描述您考虑过的解决/替代方案:** 增加转换表的行格式为DYNAMIC的提示 **可参考文档,资料,引用等:** 8.0版本,已经没有innodb_large_prefix配置项
time="2022/07/27 16:07:23.950" level=error msg="con:1 解析失败! line 1 column 71 near \"index idx0 invisible\" " file=session_inception.go func=executeInc line=219 time="2022/07/27 16:07:23.950" level=error msg=" alter table pho_qxx0 alter index idx0 invisible" file=session_inception.go func=executeInc...
goInception 对自增列加 check 约束时校验能通过: ``` `id` bigint(22) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键' check (id between 2100000000 and 2150000000) ``` 但真正执行时是会报错的: ``` ERROR 3818 (HY000): Check constraint 'xxxx' cannot refer...
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) Commits See full diff in compare...
**描述** 原始sql: ```sql set @dev_cat = 'connector.device.type.TV'; set @dev_type = '861003009000012000000720'; set @dev_type_name = 'V1FR-M9632-MYV'; set @device_type_id = (select id from device_type where dev_type = @dev_type and dev_cat = @dev_cat...
Signed-off-by: Abirdcfly see https://go.dev/play/p/9LyttbdJpv7 for example: ```go package main import "log" func main() { log.Fatalf("this line will print and exit") log.Fatalf("this line can't print") } /* output: 2009/11/10 23:00:00 this...
**描述** ghost_initially_drop_socket_file 参数开启后不生效  **重现** version:v1.2.5-51-gc9d9d9 执行DDL变更语句,手动终止gh-ost进程。 会生成两张*_ghc、*_gho表和 *.socket文件   重新提交同样的sql后,会报错: `listen unix socket file already in use.`  **环境** - 数据库: [mysql] - 版本: [例如 5.7] **参数** ghost_initially_drop_socket_file...
**描述** /*-user=user;--password=pwd;--host=10.18.111.111;--port=4000;--check=1*/ inception_magic_start; update aaa set bbb = '1' where qqq like '%jpeg'; inception_magic_commit; 这个的结果,和实际执行返回的结果不一致。 check=1的情况下,返回affected_row是1000。 我切换到sql工具里面,同样的语句,select的结果是20。 **重现** 非必现。有的时候,实际影响行数是1,都会出错。有的时候,不出错 **环境** - 数据库: mysql - 版本: 5.7.17 **参数** 可能与问题相关的设置参数
报错信息: time="2022/08/03 01:04:02.653" level=error msg="sh [-c gh-ost --alter "ENGINE = innodb" --assume-master-host= --exact-rowcount=false --concurrent-rowcount=true --allow-on-master=true --allow-master-master=false --allow-nullable-unique-key=false --approve-renamed-columns=true --tungsten=false --discard-foreign-keys=false --skip-foreign-key-checks=true --aliyun-rds=false --gcp=false --ok-to-drop-table=false --initially-drop-old-table=true --initially-drop-ghost-table=true --cut-over=atomic --force-named-cut-over=false --assume-rbr=true --cut-over-exponential-backoff=false...
**描述您想要的功能:** 有时候应用会对mysql 建立长连接, 执行一个sleep 操作锁表, 导致无法改表, 这时候如果改表, 可能会造成改表失败, 无论是原生执行还是 pt-osc 都可能失败. 如果可以在失败后, 自动去尝试 kill 所有的 process, 然后重新尝试改表, 就可以省去手工 kill prcocess 的麻烦 **描述您考虑过的解决/替代方案:** 手工在执行工单前 kill process **可参考文档,资料,引用等:** 暂无