Home >Database >Mysql Tutorial >MySQL: ERROR13(HY000):Can't get stat of的问题_MySQL

MySQL: ERROR13(HY000):Can't get stat of的问题_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 13:42:511050browse

bitsCN.com
MySQL: ERROR13(HY000):Can't get stat of的问题 但是将LOAD DATA INFILE  换成  LOAD DATA LOCAL INFILE  OK!  原因分析:  源自Mysql中文手册:  出于安全原因,当读取位于服务器中的文本文件时,  文件必须位于数据库目录中,或者是全体可读的。另外,要对服务器文件使用LOAD DATA INFILE,您必须拥有FILE权限。  如果指定了LOCAL,则文件会被客户主机上的客户端读取,并被发送到服务器。文件会被给予一个完整的路径名称,以指定确切的位置。  权限问题啊!    作者 gardenyuan bitsCN.com

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn