Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to take mysql database structure backup

Answer Posted / nivedita

select INTO statement id used to take a back of the table.

syntax
select coloum_name(s) INTO NewTable(in external database)
from source table;
example: select * into person_backup from persons;

------------
another way is to take a dump
mysqldump -h hostname -u username -p password database >
backupdtabase.sql

o [username] - this is your database username
o [password] - this is the password for your database
o [databasename] - the name of your database
o [backupfile.sql] - the file to which the backup
should be written.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is mysql free download?

847


What is the role of a limit in a mysql query?

1002


What ascii 31?

942


Do I need python for mysql?

923


Why do we use group by and order by function in mysql?

914


Restore database (or database table) from backup.

1020


Can you tell which of the following where clauses is faster?

900


What does do in mysql?

868


What is the use of i-am-a-dummy flag in mysql?

1005


How show all tables in mysql query?

916


Why is mysql popular?

863


What is the difference between procedure and function in mysql?

1014


Which mysql function is used to concatenate string?

1479


What are programming functions?

942


I want to find out all databases starting with ‘test’, I have access to?

1149