Exporting a Single Database

In SingleStoreDB Cloud, you can use the endpoint to run mysqldump that creates a .sql file containing the queries necessary to recreate a database. For example, if you have a database named “foo”, you can create a backup with the following command:

$ mysqldump -h -u root -P 3306 foo > foo.sql

Last modified: May 3, 2023

Was this article helpful?