本篇文章為大家展示了mysqlhotcopy中怎么備份myisam表,內(nèi)容簡明扼要并且容易理解,絕對能使你眼前一亮,通過這篇文章的詳細介紹希望你能有所收獲。
1、安裝perl擴展
shell> perl -MCPAN -e shell
cpan> install DBI
cpan> install DBD::mysql
2、備份表myisam
#mysqlhotcopy -h localhost -u root -p 123456 demo /data/back/
-h 主機
-u 數(shù)據(jù)庫用戶名
-p 數(shù)據(jù)庫密碼
‘demo’數(shù)據(jù)庫名稱
上述內(nèi)容就是mysqlhotcopy中怎么備份myisam表,你們學到知識或技能了嗎?如果還想學到更多技能或者豐富自己的知識儲備,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道。