Dump Your MySQL Database by Gergő D. NagyShellPosted on May 14, 2018 Share on Facebook, Linkedin, Twitter With this snippet, you can easily export your database to an SQL file. Neat and easy to use. mysqldump -u[user] -p[pass] [db] > [path_to_sql] Need a web developer? Maybe we can help, get in touch! Spruce CSS is a modern and minimal CSS design system, framework.