Load data infile MySQL with absolute URL

前端 未结 2 780
隐瞒了意图╮
隐瞒了意图╮ 2021-01-25 22:32

i trying load a CSV in a table. I have my CSV in a folder of my server. (wwww.myweb.com/temp/file.csv)

I use this sentence:

LOAD DATA INFILE \'http://www         


        
2条回答
  •  猫巷女王i
    2021-01-25 23:04

    MySQL cannot access the file in that location. Try moving it somewhere simple like /tmp (or copy it) on the local filesystem, and not via a URL parameter.

    The MySQL process likely cannot load the folders BEFORE "temp/file.csv"

提交回复
热议问题