how to 'load data infile' on amazon RDS?

后端 未结 6 1112
刺人心
刺人心 2020-12-23 17:09

not sure if this is a question better suited for serverfault but I\'ve been messing with amazon RDS lately and was having trouble getting \'file\' privileges to my web host

6条回答
  •  温柔的废话
    2020-12-23 17:38

    You need to use LOAD DATA LOCAL INFILE as the file is not on the MySQL server, but is on the machine you are running the command from.

    As per comment below you may also need to include the flag:

    --local-infile=1
    

提交回复
热议问题