MySQL workbench : How to export mysql database to .sql file?
I need to export my database in mysql workbench to a file .sql.
![]()
2 Answers 2
In MySql Workbench version 8.0 you can just follow the next steps
- Go to Server tab
- Go to Database Export
This opens up something like this

- Select the schema to export in the Tables to export
- Click on Export to Self-Contained file
- Check if Advanced Options. are exactly as you want the export
- Click the button Start Export
![]()
try this and select export to self constrained file .sql along with the path.

![]()
-
The Overflow Blog
Linked
Related
Hot Network Questions
Subscribe to RSS
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2023.3.13.43308
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.