mysql> load data infile '/root/tab1.sql' into table t1;
ERROR 13 (HY000): Can't get stat of '/root/tab1.sql' (Errcode: 13)急急这个问题怎么解决 ?

解决方案 »

  1.   

    这个问题楼主已经提过了一次了,并且也有一些回复。建议楼主看一下。'/root/tab1.sql' 内容是什么,贴出来看一下。如果是SQL语句则应该使用 
    mysql>  source /root/tab1.sql
      

  2.   

    当您的问题得到解答后请及时结贴.
    http://topic.csdn.net/u/20090501/15/7548d251-aec2-4975-a9bf-ca09a5551ba5.html
    http://topic.csdn.net/u/20100428/09/BC9E0908-F250-42A6-8765-B50A82FE186A.html
    http://topic.csdn.net/u/20100626/09/f35a4763-4b59-49c3-8061-d48fdbc29561.html8、如何给分和结贴?
    http://community.csdn.net/Help/HelpCenter.htm#结帖
      

  3.   

    _area
    _city
    _province
    category
    china_js
    china_product_log
    china_union
    cm_user_bin_data
    manu_product
    manufacturer
    merchant
    这些文件名
      

  4.   

    mysql> source /root/tab1.sql
    ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '_area
    _city
    _province
    category
    china_js
    china_product_log
    china_union
    manu_produ' at line 1
      

  5.   

    建立表,
    LOAD DATA INFILE 'data.txt' INTO TABLE db2.my_table;