When the backup is complete, you’ll see an “Export Completed” dialog. If you’re simply archiving the database, use “Export to Self-Contained File.” Which method you should choose depends on the purpose of the backup. The “Export to Dump Project Folder” method makes it easier to restore single tables should the need arise. The other option, “Export to Dump Project Folder” will make separate backups of each table. Using the “Self-Contained File” method makes it easier to restore an entire database in a disaster recovery situation. To back up specific tables, click the database name, then select the table you wish to back up.įor this tutorial, we’re making a safety backup of the entire database, so we’re choosing “Export to Self-Contained File.” To back up the entire database, click the “Export” box in the “Tables to Export” window. Click the “OK” button.Ĭlick the “OK” button to close the connection test window.Ĭonfiguring MySQL Workbench to Back up (Export) Your DatabaseĬlick the box for the database connection that you just set up. If everything is correct, you’ll see the successful connection box.
If you get a “Cannot Connect to Database Server” error, check your entries in the connection fields.
#Create a mysql database workbench password#
But if those backups aren’t available to you, you can make your own backups using MySQL workbench and save them to your computer, either for development purposes or just peace of mind. It’s likely that your website host is making periodic backups of your site and database files.