mysql> source C:\guest\www.cnformingmachines.com\etw_ec.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 'sourc
e C:' at line 1
Show warnings disabled.
这个是什么原因阿,语句没问题呀?

解决方案 »

  1.   

    原因不知道重启服务重新进入mysql就好了
      

  2.   

    source C:\\guest\\www.cnformingmachines.com\\etw_ec.sql
      

  3.   

    或者 试一下
    source C:/guest/www.cnformingmachines.com/etw_ec.sql
      

  4.   

    ....
    source C:\guest\www.cnformingmachines.com\etw_ec.sql 
    source C://guest/www.cnformingmachines.com/etw_ec.sql 
    source C:\\uest\\ww.cnformingmachines.com\\etw_ec.sql 都试试 另外你的文件换个地方存储
    别用带点的文件夹
    可以
    mysql> source D:/test/etw_ec.sql