Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL Control Center - load from file

Status
Not open for further replies.

Halfcan

Technical User
Joined
Dec 8, 2002
Messages
214
Location
US
HI.
Using MySQL Control Center beta 0.9.3,

Does anyone know how to load data from a text file,
and what is required of the txt file?

I've tried tab delimited, and comma delimited, but everything just goes into 1 field.

The HELP contents do not exist, and has no manual.

Thanks,
HC
 
Thanks, sleipnir, unfortunately I looking for a manual on "Control Center". You see, I'm dumb and do not know sql syntax. I was looking for help with GUI program.
I guess I will try to figure out how to do this by command line....

Thanks,

HC
 
You can use MySQLCC as your database client. But with it you are likely going to have to create the SQL by hand anyway.

There is a gotcha using a LOAD DATA query. There are two forms of the query: LOAD DATA INFILE and LOAD DATA LOCAL INFILE. The first expects the datafile to be on the server's filesystem, the second expects the datafile to be transferred to the server through your client connection. However, by default MySQL doesn't allow data transmissions through the client connection. I recommend that if at all possible you copy the datafile to the filesystem of the server and use LOAD DATA INFILE.

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Thanks, again. Guess it's time to start learning sql.
HC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top