MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old July 31st, 2000, 02:21 AM
nnrao18
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
how to export the data from mysql database to a text file and how to import the data from text file to mysql database.
If any one have the solution for this problem please send it as early as possible.

with regards
Narayana Rao

Reply With Quote
  #2  
Old July 31st, 2000, 09:54 PM
RyanP
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
use the mysqldump binary

Reply With Quote
  #3  
Old August 7th, 2000, 06:13 PM
pschon pschon is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 16 pschon User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by nnrao18:
how to export the data from mysql database to a text file and how to import the data from text file to mysql database.
[/quote]

As guy before said, see the mysqldump. Works great, but if your version of mysql supports, use the --opt flag.

You can also get table definitions like this:

mysqldump [-u user] [-pPASSWORD] -d database >databases-d.dump

I'm doing a compare of oracle and mysql (for features I use a lot in mysql I need to find in oracle):
http://www.rede.com/rdbms/mysql2oracle.html

Peter


Reply With Quote
  #4  
Old August 9th, 2000, 02:55 PM
elin elin is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2000
Posts: 20 elin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You may also find the commands:
LOAD DATA INFILE
and
SELECT ... INTO OUTFILE

of some use.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > exporing and importing of data


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway