开发者

how to use use load_file in mysql ? I get a wrong message " Can't get stat of 'D:\w.ini' " !

开发者 https://www.devze.com 2022-12-16 06:49 出处:网络
like the title. I guess it is the matter of file\'s name. But I try \"D://w.init\" and \"file:///D开发者_高级运维:\\w.ini\", I util get this wrong message.My wild guess is that you are running this co

like the title. I guess it is the matter of file's name. But I try "D://w.init" and "file:///D开发者_高级运维:\w.ini", I util get this wrong message.


My wild guess is that you are running this command on a remote mySQL server, and trying to LOAD INFILE a file on your local D:\ drive.

This cannot work, as the mySQL on server side can't access your local D: drive.

You will need to upload the file to your server first.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号