[SQL ] 无法汇入sql档案

楼主: kuoll (kuoll)   2015-05-09 19:35:22
数据库名称: MySQL
数据库版本: 5.5.33
内容/问题描述:
我想汇入一个含有mysql指令的外部档案 test.sql
若是使用phpMyadmin的import功能可以顺利汇入
但是下指令 source test.sql
会显示错误讯息
#1064 - 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 test.sql' at line 1
请问是我对source的使用方式错误?
还是这版本mysql不支援source指令?
有其它指令可替代吗?
作者: s9714635 (Blueeyes)   2015-05-17 11:50:00
错误讯息很说明了,没有source的指令不是吗?

Links booklink

Contact Us: admin [ a t ] ucptt.com