LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-17-2009, 06:13 AM   #1
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Cool Doubt in MySql


How can i store my all tables its entries including corresponding databases from my computer to another
I dont have any ethernet cable
I need to transfer my requirements to windows machine

Heard of "mysqldump" but unsuccessful , can anybody more specific to any commands known for this operation
 
Old 02-17-2009, 08:59 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
The mysqldump utility "dumps" everything; i.e., schema, table contents, to a text file -- you can copy that to a CD-ROM (or flash drive) and use that for a transfer to another machine (or as a backup media, for that matter).

On the other machine, you should first create the data base then use the mysqlimport utility to add the contents of the CD-ROM (or flash) to that data base.

Look at the MySQL documentation for options you may want to use with either of these utilities; also, there are examples in the documentation describing how to do this.

Instead of "internet," this is known as "sneaker-net" (because you wear your sneakers when you're walking the media from one place to another).

Hope this helps some.
 
Old 02-17-2009, 12:08 PM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Can you tell us what went wrong when using mysqldump? The export? Or the import at the windows side? Exact commands used will help us to help you.

I would indeed use mysqldump (for the export) and mysql (for the import).

PS:
This is not a programming question in my opinion.
 
  


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
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. SpellChainz Linux - Newbie 1 06-23-2007 03:35 PM
doubt about making a mysql server lonrot_m Linux - Networking 3 05-08-2006 03:43 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:43 AM.

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