MySQL: ERROR13 (HY000): Can't get stat

Source: Internet
Author: User


MySQL: ERROR13 (HY000): Can't get stat of problem, but replace load data infile with load data local infile OK! Cause Analysis: From Mysql Chinese manual: For security reasons, when reading text files on the server, the www.2cto.com file must be in the database directory or be fully readable. In addition, to use load data infile for server files, you must have the FILE permission. If LOCAL is specified, the file is read by the client on the client host and sent to the server. The file will be given a complete path name to specify the exact location. Permission problems! Author gardenyuan

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.