MySQL用source导入数据报failed to open file异常的解决方法

MySQL用source导入数据报failed to open file错误的解决办法

错误:

Failed to open file 'xxx.sql', error: 2

 

网上搜到的解决办法多半是把sql文件放到MySQL的bin目录下

我的问题是,sql文件名不能有特殊符号,包括下划线,删掉就行了;

参考:http://*.com/questions/14684063/mysql-source-error-2