Skip to content

Instantly share code, notes, and snippets.

@boywijnmaalen
Last active April 9, 2018 05:15
Show Gist options
  • Save boywijnmaalen/eacb49f21a97ff7f0cb3 to your computer and use it in GitHub Desktop.
Save boywijnmaalen/eacb49f21a97ff7f0cb3 to your computer and use it in GitHub Desktop.
MySQL dump of tables only, no data
$ mysqldump -d -P 3306 -h [ip adrr host] -u[username] -p[password] [db_name] > [filename].sql
# -d, --no-data No row information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment