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

Answers were Sorted based on User's Feedback



how to take mysql database structure backup..

Answer / rupa bagherwal

mysqldump -uusername -ppassword databasename --no-data >
backupfilename.sql

Is This Answer Correct ?    5 Yes 0 No

how to take mysql database structure backup..

Answer / 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

how to take mysql database structure backup..

Answer / shripad chandratre

INSERT INTO Backup_file SELECT * FROM file

Is This Answer Correct ?    5 Yes 2 No

how to take mysql database structure backup..

Answer / anil alpati

mysqldump --no-data --databases <dbname> > structurebackup.sql

Is This Answer Correct ?    4 Yes 3 No

how to take mysql database structure backup..

Answer / sandeep

mysqldump -d -uusername -ppassword databasename --no-data
--skip-opt > /tmp/databasename.sql

Is This Answer Correct ?    1 Yes 0 No

how to take mysql database structure backup..

Answer / sonali

mysqldump -d -uusername -ppassword databasename > backupfile.sql

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More MySQL Interview Questions

Print 3 highest salary

9 Answers  


How to get a version of mysql?

0 Answers  


If you are assigned a task, to find the information of procedures. What are the basic commands that you will use to do so?

0 Answers  


How to display odd rows in student table in mysql?

0 Answers  


Is mysql and sql are same?

0 Answers  


What are the advantages and disadvantages of using mysql?

0 Answers  


What is Database?

2 Answers  


How to show all tables with 'mysql'?

0 Answers  


Is mysql port 3306 tcp or udp?

0 Answers  


how to display only 4 records from a table based on a condition for ex i have a table called products in that nid,prodname are fields i want to display only any 4 records of perticular product plz tell me

6 Answers  


is it possible to assign two primary key in a table

8 Answers   IBM,


Is there a free version of mysql?

0 Answers  


Categories