我有一个大的数据库转储(290mb)。当我从cli使用导入时,一切都好! mysql -u root -piddqd whitestore_com < whitestore_com.sql
当我使用相同的命令从bash脚本,如: ./build.sh
这里是我得到: ? (\?) Synonym for `help'.
clear (\c) Clear the current in
我想从多个文本文件导入到MySQL数据。我正在考虑使用mysqlimport。但是,我的行以一些前缀开头,并且原来 does not supportLINES STARTING BY子句LOAD DATA;显然这是一个WONTFIX bug。 那么,我该怎么办?我可以通过cut来管好所有东西来杀死前缀吗?
MYSQL进口是这个 mysql.exe -u DBCREATE --exec="ts3hosting_20 < b3.sql;"
是给这个语法错误: ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the ma nual that corresponds to your MySQL serve