44

I need to export my database in mysql workbench to a file .sql.

What to do?

1

2 Answers 2

77

In MySql Workbench version 8.0 you can just follow the next steps

  1. Go to Server tab
  2. Go to Database Export

This opens up something like this

MySQL Workbench

  1. Select the schema to export in the Tables to export
  2. Click on Export to Self-Contained file
  3. Check if Advanced Options... are exactly as you want the export
  4. Click the button Start Export
Sign up to request clarification or add additional context in comments.

Comments

38

try this and select export to self constrained file .sql along with the path.

enter image description here

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.