LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-17-2011, 12:47 AM   #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, 01:04 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
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, 02:09 AM   #3
nigelc
Member
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Mageia 4
Posts: 340
Blog Entries: 4

Rep: Reputation: 63
Can you take the pc into the interview?
 
Old 03-17-2011, 09: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:18 AM
Interview Question infovijay Linux - Server 2 11-04-2009 07:18 AM
Interview Question help coffeefeifei Linux - Software 4 08-12-2009 10:01 PM
interview question sulekha Linux - General 5 11-13-2008 10:33 AM
Interview Question runnerpaul General 7 05-17-2007 10:03 PM


All times are GMT -5. The time now is 02:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration