Solved

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

Posted on 2012-04-09
3
461 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MySQL limit and not so limited 13 42
MySQL recovery 7 34
restriction of entering a a page 5 34
how to use jquery variable in mysql query 20 45
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…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

696 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