Bug #4278 [MySQLC] Add source command
Submitted: 24 Jun 2004 20:02 Modified: 2 Sep 2007 18:46
Reporter: Olaf van der Spek (Basic Quality Contributor) Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S4 (Feature request)
Version: OS:Any
Assigned to: CPU Architecture:Any
Tags: qc

[24 Jun 2004 20:02] Olaf van der Spek
Description:
Could the source command be added to MySQLC.exe?

Differences between mysql.exe and mysqlc.exe:
MySQL.exe:
ego     (\G)    Send command to mysql server, display result vertically.
notee   (\t)    Don't write into outfile.
prompt  (\R)    Change your mysql prompt.
source  (\.)    Execute a SQL script file. Takes a file name as an argument.
tee     (\T)    Set outfile [to_outfile]. Append everything into given outfile.

MySQLC.exe:
edit    (\e)    Edit command with $EDITOR

How to repeat:
c:\> mysqlc
mysql> source d.sql;
ERROR 1064: You have an error in your SQL syntax.  Check the manual that corresp
onds to your MySQL server version for the right syntax to use near 'source d.sql
[2 Sep 2007 18:46] Valeriy Kravchuk
As mysqlc is not supported in MySQL 4.1.8 and above (http://dev.mysql.com/doc/refman/4.1/en/windows-testing.html), this feature will never be implemented.