共計(jì) 662 個(gè)字符,預(yù)計(jì)需要花費(fèi) 2 分鐘才能閱讀完成。
這篇文章主要講解了“怎么安裝并使用 percona-toolkit”,文中的講解內(nèi)容簡單清晰,易于學(xué)習(xí)與理解,下面請(qǐng)大家跟著丸趣 TV 小編的思路慢慢深入,一起來研究和學(xué)習(xí)“怎么安裝并使用 percona-toolkit”吧!
登陸 https://www.percona.com/software/database-tools/ 下載
tar -zxvf percona-toolkit-2.2.20.tar.gz
cd percona-toolkit-2.2.20
perl Makefile.PL
make
make install
使用 pt-online-schema-change 修改存儲(chǔ)引擎。
[root@linfytest6 bin]# /usr/local/bin/pt-online-schema-change –alter ENGINE=InnoDB D=linfy,t=t1 -uroot -p111111 -S /tmp/mysql3306.sock
-zxvf
percona-toolkit-2.2.6.tar.gz
tar -zxvf percona-toolkit-2.2.6.tar.gz
感謝各位的閱讀,以上就是“怎么安裝并使用 percona-toolkit”的內(nèi)容了,經(jīng)過本文的學(xué)習(xí)后,相信大家對(duì)怎么安裝并使用 percona-toolkit 這一問題有了更深刻的體會(huì),具體使用情況還需要大家實(shí)踐驗(yàn)證。這里是丸趣 TV,丸趣 TV 小編將為大家推送更多相關(guān)知識(shí)點(diǎn)的文章,歡迎關(guān)注!