专职DBA-mysqldump逻辑备份恢复
专职DBA-MySQL数据库备份与恢复基础 [root@db01 ~]# ps -aux | grep mysql mysql 7452 0.2 19.2 1118856 193572 pts/0 Sl 18:55 0:01 mysqld --defaults-file=/data/mysql/3306/my.cnf root 7547 0.0 0.0 112708 972 pts/0 R+ 19:03 0:00 grep --color=auto mysql [root@db01 ~]# mysql -S /data/mysql/3306/mysql.sock -p Enter password: mysql> create database app; Query OK, 1 row affected (0.00 sec) mysql> use app; Database changed mysql> create table t1(id int,name varchar(32)); Query OK, 0 rows affected (0.02 sec) mysql> show tables; +---------------+ | Tables_in_app | +---------------+ | t1 | +---------------+ 1 row in set