I have a script:
When I run script, I get
I have browsed the and have not found an answer. I also searched through this forum - no luck!
Could you please identify what the problem might be with this "simple" script? This is my very first attempt ever and I've tried a number of combinations but have not been able to hit the nail on the head.
Thank you all in advance!
Jose Lerebours
KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours
Code:
mysql -u dbuser -ppassword -e "LOAD DATA INFILE '/appl/tmp/mysqlwr.txt'
INTO TABLE dbfile.dbtable
FIELDS TERMINATED BY ':'
ESCAPED BY '\\'
LINES TERMINATED BY '\n';"
When I run script, I get
Code:
PAGER set to stdout
ERROR 1064 at line 1: You have an error in your SQL syntax. Check the manual that corresponds to yur MySQL server version for the right syntax to use near ''\'
LINES TERMINATED BY ''' at line 4
I have browsed the and have not found an answer. I also searched through this forum - no luck!
Could you please identify what the problem might be with this "simple" script? This is my very first attempt ever and I've tried a number of combinations but have not been able to hit the nail on the head.
Thank you all in advance!
Jose Lerebours
KNOWLEDGE: Something you can give away endlessly and gain more of it in the process! - Jose Lerebours