请教:mysql_query("source ...")报错的问题
mysql_query("source 1.dat") or exit(mysql_error());
//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 'source 1.dat' at line 1
mysql> source 1.dat
ERROR:
Failed to open file '1.dat', error: 2
同样的SQL,不同的结果,请教何故?已排除环境等原因