Back to website
Login
Home
Login
Register
Back to website
There was a problem loading the comments.
How do I dump a mySQL database via command line?
Support Portal
»
Knowledgebase
» Viewing Article
Print
29/06/2009 12:22 AM
MYSQL
Linux (Internal)
If you are familar with command line access via SSH you can issue the below command to produce a backup file of your mySQL database.
mysqldump db_name -u db_username -p db_password > db_backup.sql
Share via
Did you find this article useful?
Related Articles
How do I repair a mysql database table via command line?
How do I optimize a mysql database table via command line?
How to Import MySQL Databases in Command Line
Categories
31
General
19
Advanced Account Features
86
cPanel
7
DirectAdmin
24
DNS and Domains
72
Email
8
FTP issues
5
Pre-sales Question
14
Webserver Questions & Scripting
8
SEO / Web Marketing
1
Shared Hosting
18
Linux (Internal)
35
Reseller Hosting
4
Affiliates
20
Wordpress Blog
2
Connection Issues
2
Windows Server
39
Web Script Installer
39
— Softaculous
8
Cloudflare
4
VPS
10
Downloads
3
— FTP Client
1
— Anti-Virus/Malware
1
—— Kaspersky Conficker Removal
6
— Windows Server 2003 R2 2003 Critical Update
3
—— 32bit
3
—— 64bit
10
cPanel Technical Stuff (Internal Only)
3
Directadmin Technical Stuff (Internal Only)
8
VPNFreak
2
— Windows
2
— Mac
2
— Linux
2
— Mobile Devices
11
MYSQL
5
Security
3
— Wordpress
3
Billing Issue
10
Wordpress Easy Setup
2
WebsitePanel
11
SSL Certificates
3
SpamExperts (Anti Spam Filtering)
1
Promotions
© ServerFreak Technologies Sdn Bhd