数据库备份:
root@debian-mm:/home/debian-mm# mysqldump -u root -p Account > Account.sql
Enter password:
数据库还原:
mysql -u root -p
passwd:
mysql>use dbname;
mysql>source dbname.sql
数据库备份:
root@debian-mm:/home/debian-mm# mysqldump -u root -p Account > Account.sql
Enter password:
数据库还原:
mysql -u root -p
passwd:
mysql>use dbname;
mysql>source dbname.sql