## # MySQL [Database] # database MySQL do |db| # To dump all databases, set `db.name = :all` (or leave blank) db.name = "my_database_name" db.username = "my_username" db.password = "my_password" db.host = "localhost" db.port = 3306 db.socket = "/tmp/mysql.sock" # Note: when using `skip_tables` with the `db.name = :all` option, # table names should be prefixed with a database name. # e.g. ["db_name.table_to_skip", ...] db.skip_tables = ["skip", "these", "tables"] db.only_tables = ["only", "these" "tables"] db.additional_options = ["--quick", "--single-transaction"] # Optional: Use to set the location of this utility # if it cannot be found by name in your $PATH # db.mysqldump_utility = "/opt/local/bin/mysqldump" end