匿名用户主:100.29
从:100.40
pt-online-schema-change h=192.168.100.29,P=3307,u=root,p=123,D=sbtest,t=t1 --recursion-method "dsn=D=percona,t=dsns " --alter "modify column name varchar(20)" --execute
DBD::mysql::db selectcol_arrayref failed: Incorrect table name 'dsns ' [for Statement "SELECT dsn FROM `percona`.`dsns ` ORDER BY id"] at /usr/bin/pt-online-schema-change line 4899.
pt-online-schema-change 3.1.0
mysql --5.7
mysql> show tables;
+-------------------+
| Tables_in_percona |
+-------------------+
| checksums |
| dsns |
| kill_log |
| t_arch |
| t_arch_bak |
+-------------------+
5 rows in set (0.10 sec)
mysql> select * from dsns;
+----+-----------+--------------------------------------+
| id | parent_id | dsn |
+----+-----------+--------------------------------------+
| 2 | NULL | h=192.168.100.40,u=root,p=123,P=3307 |
+----+-----------+--------------------------------------+
墨值悬赏

评论
