php - mysql version 5.5.31 load data infile syntax error -


I'm trying to load a table on mysql table host on the table but this is throwing me a syntax error in my MySQL Version 5.5.31 is. mysql -u ykd202 -p -e 'load data INFILE "home / people / corp / intx.csv" table history prescribed by COLUMNS', 'alternatively' to 'avoid' 'Time-fixed by lines' \ n 'IGNORE 1 lines'; 'F2014'

The above statement is the name of the database in f2014. And I'm getting the error

  Enter the password: Error 1064 (42000) on line 1: You have an error in the SQL syntax; Manual, which is in line with the correct syntax for your syntax, check the manual that is used to close the 'line by line' to avoid lines by using the 'connected to optinital' line. > 

You have posted the following for code:

  mysql -u ykd202 -p -e 'Load Data Info "House /folks/kosh/intx.csv" set by COLUMNS in Table History ", 'Optionally Avoid' '' '' Time Sorted by Lines '' \ n 'IGNORE 1 Lines;' However, your error message is refuting itself:  

Error 1064 (42000) on line 1: You have an error in the SQL syntax; Check the manual related to your MySQL server version for the correct syntax to use near 'optinally attached' near the 'lines' ignored by unknown lines on 1 / a block

1a)

1b) Part of your code: optionally closes '' '' '' '' ''

then . ..

2a) Part of error: rows n and

2b) Part of your code: Terminal by LINES '\ n ' - D at the end of the terminal Th, which should read as terminated.

So I will run on one organ here and say that you need to modify your code to:

  mysql -u ykd202 -p -e 'Load data INFILE " House / People /kosh/intx.csv "Suspended by Column in Table History", "Optionally Encounter" "'to avoid' 'Lines' by' '' IGNORE 1 lines; 'F2014'   

  • Edit:

    Also try:

      mysql -u ykd202 -p -e "load data INFILE 'home / people / fund / intx.csv' table history 'determined by column', alternatively encounter '' IGNORE 1 lines; 'F 2014' / '>'    as determined by 'escapade' 'lines

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -