MysSQL dump with table, view, functions, triggers, data. Sed out the CREATE DEFINER command.
#!/bin/bash
if [ -z "$1" ]; then echo "usage: $(basename $0) [options] <db>"; exit 1; fi
mysqldump \
--default-character-set=utf8mb4 \
--add-drop-table \
--complete-insert \
--create-options \