I want a mysqldump –ignore-database option

$ time mysqldump --databases `mysql --skip-column-names -e "SELECT GROUP_CONCAT(schema_name SEPARATOR ' ') FROM information_schema.schemata WHERE schema_name NOT IN ('mysql','performance_schema','information_schema');" >` >/mysql/backup/rds2.sql
posted @ 2018-01-19 14:16  追忆丶年华  阅读(245)  评论(0编辑  收藏  举报