Solved

How do you take a Full back up in MySQL (as like in SQL server via SSMS)

Posted on 2012-04-09
3
457 Views
Last Modified: 2012-04-10
Hello:
I just need to take a one time Full bakcup of a MySQL database. I dont know PHP and Linux or all the there LAMP stack utilities.
I am a SQL server DBA and just needs to ensure I back up a small database in MySQL workbench.

Is there any gui inteface to take that small backup?
I looked up online and many suggestions go to the route of PHP and other command line ways, but I am looking for a gui from the Workbench, something like r-click , tasks, bakcup (like in SSMS)

Thank you.
0
Comment
Question by:noamco36
  • 2
3 Comments
 
LVL 3

Assisted Solution

by:gnemi
gnemi earned 500 total points
ID: 37825967
from shell:
mysqldump -u user -p -A > server_dump.sql

to restore:
mysql -u user -p -A < server_dump.sql

For doing the backup in workbench:

http://database.blogs.webucator.com/2010/11/05/creating-database-backups-in-mysql-workbench/
0
 

Author Comment

by:noamco36
ID: 37826004
thank you,
I tried the workbench link and done the export.
after it finished I opened the file location and I see all the backed up "MySQL" tables in a (.sql) format! When I double click on them, SQLserver opens with the query window of that backup. does that make sense?! They should really open with Mysql.




thanks.
0
 
LVL 3

Accepted Solution

by:
gnemi earned 500 total points
ID: 37826018
.sql can be opened by either

You likely have the default application for .sql set to SQLserver.

You can import by selecting the 'Import from Disk' tab in the data dump section of workbench.
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question