Bug #3673 'syntax.txt' only searched for in current working directory
Submitted: 6 May 2004 5:21 Modified: 7 May 2004 21:04
Reporter: [ name withheld ] Email Updates:
Status: Not a Bug Impact on me:
Category:MySQLCC Severity:S3 (Non-critical)
Version:0.9.4-linux-glibc23 OS:Linux (linux)
Assigned to: Dean Ellis CPU Architecture:Any

[6 May 2004 5:21] [ name withheld ]
The file 'syntax.txt' is only searched for in the current working directory.  When installed in "/usr/local/bin/mysqlcc-(version)".  When started from anywhere but this directory (ie, from '/home/beltorak') the file cannot be found.  This probably also affects the '.wav' files and everything in the 'translations' directory.

How to repeat:
(in KDE) KMenu -> "Run Command": /path/to/mysqlcc
open a Query... error message appears in messages tab, syntax highlighting disabled.

Suggested fix:
Workaround is to symlink the required files to the home directory.

I suggest searching for the required files in a standard location like "/usr/local/lib/mysqlcc-(version)" and have the installation instructions direct the user to place 'syntax.txt' and the other supporting files there.
[7 May 2004 21:04] Dean Ellis
You can change the path to the syntax file in Options for the SQL Editor.