Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > MySQL
| Search | Today's Posts | Mark Forums Read
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 21st, 2005, 02:39 AM
pb pb is offline
Registered User
 
Join Date: Sep 2005
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default create CSV flat file from mysql table

Hi:

I want to export all table data from one Mysql database to another on different PC. What is the short method to do either data or both data and table structure. Also same from Mysql to Oracle database.

Thanks
  #2 (permalink)  
Old September 21st, 2005, 10:51 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: , , United Kingdom.
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi pb,

You can use mysqldump to create a file of sql statements, there are various flags that allow you to select which databases / tables / data to dump.

http://dev.mysql.com/doc/mysql/en/mysqldump.html

HTH,

Chris



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to export Data from MySql to flat file. SkyMouse XML 2 August 19th, 2008 03:04 PM
Export Mysql data to Flat file using .Net 2.0 SkyMouse .NET Framework 2.0 0 August 18th, 2008 11:36 PM
csv file into access table with vba Perseus Access VBA 2 September 14th, 2005 02:57 PM
mapping repeating xml structure to flat csv f vasmallela Biztalk 0 May 29th, 2005 11:53 PM
CREATE TABLE error in MySQL k4rm4killer PHP Databases 2 December 9th, 2003 01:05 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.