LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-16-2011, 11:47 PM   #1
mposwal
Member
 
Registered: Nov 2010
Posts: 35

Rep: Reputation: 0
interview question


wat is function of kdump and how we take dump of mysql in linux
 
Old 03-17-2011, 12:04 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Read:
http://www.manpagez.com/man/1/kdump/
http://www.ntchosting.com/mysql/database-dump.html

Found it on google. Also, Please spell properly next time, it is quite annoying.

Josh
 
1 members found this post helpful.
Old 03-17-2011, 01:09 AM   #3
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 7
Posts: 406
Blog Entries: 4

Rep: Reputation: 80
Can you take the pc into the interview?
 
Old 03-17-2011, 08:52 AM   #4
merijnofiets
LQ Newbie
 
Registered: Sep 2010
Location: Amsterdam
Distribution: Arch linux
Posts: 11

Rep: Reputation: 0
when I want to make a dump of my mysql databse, I use mysqldump.
It's pretty straight forward:

lets say I want to backup (dump) my database called "sheep". I just type:

mysqldump -uroot -p sheep > /home/user/sheep.sql

'-uroot' use root user
'-p' ask for password
'sheep' db name
'> /home/user/sheep.sql' put output from mysqldump in file 'sheep.sql'

In the file sheep.sql you will find all the sql commandos and data needed to rebuild the db.

When you want to import sheep.sql into another db use:
mysql -uroot -p < /home/user/sheep.sql

for more information see:
http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html

merijn
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
interview question vishalyadav22 Linux - Newbie 3 03-12-2011 06:18 AM
Interview Question infovijay Linux - Server 2 11-04-2009 06:18 AM
Interview Question help coffeefeifei Linux - Software 4 08-12-2009 09:01 PM
interview question sulekha Linux - General 5 11-13-2008 09:33 AM
Interview Question runnerpaul General 7 05-17-2007 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration