If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > A little help on moving a flat file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-21-04, 16:36
Toasted Onion Toasted Onion is offline
Registered User
 
Join Date: Jan 2004
Posts: 13
A little help on moving a flat file

Greetings and salutations, just found the site and am really enjoying reading the posts. I however did not find anything that related to an issue and would like to seek some advice from you all.

Currently I have a flat file that resides on one server that I need to export to a new server and place it into a new database that is ready to go. I know there is the load feature, but not sure if this would work. Would I be able to point the database directly to the flat file by using the IP address and directory it resides in?

Any advice is greatly appreciated.

Thanks
Reply With Quote
  #2 (permalink)  
Old 01-24-04, 15:45
donsimon donsimon is offline
Registered User
 
Join Date: Jan 2004
Posts: 24
Depends on what format the flat file is in. If it's in a comma delimited file/CSV it would take about 2 seconds to convert it using something simple like PHPMyAdmin. If you want to do it by hand it takes a little more time.

But that is the biggest thing is knowing what format the current version is in. And you would actually need to copy/scp the file from one server to the new server or unless you have it locally you can use PHPMyAdmin.

Donny
__________________
http://www.phpscripts.com/
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On