MySQL 匯出匯入指令
發表於 : 週四 9月 09, 2010 12:48 pm
[匯出]
mysqldump -u userid -e -p db_Name > xxxxx.sql
[匯入]
mysql -u userid -p [-h localhost] db_Name < xxxxx.sql
mysqldump -u userid -e -p db_Name > xxxxx.sql
[匯入]
mysql -u userid -p [-h localhost] db_Name < xxxxx.sql