If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > small help in MySQL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-18-09, 17:36
osama1510 osama1510 is offline
Registered User
 
Join Date: Nov 2009
Posts: 2
small help in MySQL

i already create my database and i create all the tables and done with all insert data....but i need to save the database as file in my USB or in any other storage but i don't know how?

i mean how to save it as (file.sql)?

thanx :-)
Reply With Quote
  #2 (permalink)  
Old 11-18-09, 18:06
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
if you use MySQL Administrator you can schedule backups of db's. you can also do that via the MySQLDUMP command
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 11-19-09, 04:17
osama1510 osama1510 is offline
Registered User
 
Join Date: Nov 2009
Posts: 2
i see

lets say my db`s name is cars.... so how to do it by the command MySQLDUMP??
Reply With Quote
  #4 (permalink)  
Old 11-21-09, 01:16
askvenki askvenki is offline
Registered User
 
Join Date: Nov 2009
Posts: 2
mysqldump -u <username > -p<password> --all-databases > <filename> it will take all backup all databases
-- for particular database cars
mysqldump -u <username> -p<password> cars > <filename> it will take particular database backup
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On