pt-online-change-schema命令语法

pt-online-schema-change \ --alter "MODIFY COLUMN sell_price DECIMAL(10,2) DEFAULT NULL" \ --execute \ h=localhost,u=root,p=Waglo127net.,S=/data/mysql/misc/mysql.sock,D=minipos,t...

pt-online-schema-change \

--alter "MODIFY COLUMN sell_price DECIMAL(10,2) DEFAULT NULL" \

--execute \

h=localhost,u=root,p=Waglo127net.,S=/data/mysql/misc/mysql.sock,D=minipos,t=comm_inv_log


上述 命令把sell_price 更改成:DECIMAL(10,2)  
  • 发表于 2025-10-16 04:48
  • 阅读 ( 14 )

你可能感兴趣的文章

相关问题

0 条评论

请先 登录 后评论
石天
石天

437 篇文章

作家榜 »

  1. shitian 662 文章
  2. 石天 437 文章
  3. 每天惠23 33 文章
  4. 小A 29 文章