Solved

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

Posted on 2012-04-09
3
447 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
This article discusses how to create an extensible mechanism for linked drop downs.
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 …

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now