【发布时间】:2020-10-25 07:34:26
【问题描述】:
谁能帮我解决这个问题?我目前正在尝试将我的查询写入一个文件,我最终会用 note 关闭它;称呼。我以前使用过发球台,但由于某种原因,今天我遇到了问题。
这里是有问题的语法:
tee c:/trash/test.txt;
select*from customer;
这是错误:
Error
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem.
ERROR: Unknown Punctuation String @ 6
STR: :/
SQL: tee c:/trash/test.txt;tee c:/trash/test.txt;tee c:/trash/test.txt;
SQL query:
tee c:/trash/test.txt;
MySQL said: Documentation
#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 'tee c:/trash/test.txt' at line 1
文件垃圾已创建,所以我知道这不是问题。
任何帮助将不胜感激。
【问题讨论】:
标签: mysql phpmyadmin