How can i export my database?

Is there a way that to export my DB? Like in MySql workbench, where i can export the DB as an file that contains all the querys to recreate the DB.

You might want to look into a command-line tool such as mysqldump as it makes creating an SQL script of your database fairly simple, with various options, and you can pipe or redirect the output as desired. You can probably also use the MySQL Shell. Make sure you use the connection options appropriate for the method that you use (for mysqldump I think it’s the non-X ones, but I’m not fully familiar with that).

1 Like