<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<blockquote cite="mid:20110407181457.GY3082@styx.iucha.org"
type="cite">
<pre wrap="">Use sed. Or Excel/Calc.
The question is: where do you get the user_id from?
florin
</pre>
<pre wrap="">
</pre>
</blockquote>
<br>
<br>
Figured it out:<br>
<br>
<span style="font-family: courier,monospace;">LOAD DATA <strong>LOCAL</strong>
INFILE '<em>/importfile.csv</em>' <br>
INTO TABLE <em>test_table</em> <br>
FIELDS TERMINATED BY ',' <br>
LINES TERMINATED BY '\n' <br>
(field1, filed2, field3); <br>
<br>
<br>
I added a field for the user id, and things imported properly.<br>
<br>
</span>
<br />--
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</body>
</html>