shell> mysqldump [options] db_name [tbl_name ...] 恢复需要手动CRATE DATABASES shell> mysqldump [options] shell> mysqldump [options] SHOW DATABASES; #查看当前的数据库, 我们的数据库为employees +set (USE employees; Database changed mysql> SHOW TABLES; #查看当前库中的表 +set (SELECT COUNT(*) FROM employees; #由于篇幅原因, 我们这里只看一下employees的行数为300024 +set (SHOW MASTER STATUS@node1 ~]@node1 ~]@node1 ~]@node1 ~]@node1 ~]@node1 ~]or OSF disklabel Building a new DOS disklabel with disk identifier in memory only, until you decide to write them. After of course, the previous content wonto switch and change display units to sectors (command for help): n Command action e extended p primary partition (default default value or +size{K,M,G} (default for help): t Selected partition to list codes): of partition to for help): w The partition table has been altered!
Calling ioctl() to re-read partition table. Syncing disks. You have new mail in /var/spool/mail/root [root@node1 ~]BLKPG: Device or resource busy error adding partition @node1 ~]@node1 ~]@node1 ~]@node1 ~]@node1 ~]@node1 ~]@node1 ~]@node1 ~]SHOW DATABASES; #查看当前的数据库, 我们的数据库为employees +set (USE employees; Database changed mysql> SHOW TABLES; #查看当前库中的表 +set (SELECT COUNT(*) FROM employees; #由于篇幅原因, 我们这里只看一下employees的行数为300024 +set (@node1 lvm_data]@node1 lvm_data]@node1 lvm_data]write-protected, mounting read-only
[root@node1 lvm_data]@node1 lvm_snap]index test [root@node1 lvm_snap]@node1 ~]@node1 ~]