Bug #39952 First line in script is comment rather than setting shell
Submitted: 9 Oct 2008 13:10 Modified: 21 Oct 2008 15:47
Reporter: Heidi Bergh-Hoff Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Proxy: Scripts Severity:S3 (Non-critical)
Version:0.7.0.2733 OS:Solaris
Assigned to: Kay Roepke CPU Architecture:Any

[9 Oct 2008 13:10] Heidi Bergh-Hoff
Description:
The mysql-proxy wrapper script has the following first line:

#/bin/sh

I was then executing the wrong shell and it did not work.  I changed this to:

#!/bin/sh 

and it worked.

How to repeat:
Execute mysql-proxy in Solaris environment where /bin/sh is not default

Suggested fix:
Change first line to: #!/bin/sh
[10 Oct 2008 8:02] Sveta Smirnova
Thank you for the report.

In SVN revision 511 I have correct string. In public available 0.6.1 there is no wrapper script. Please indicate exact URL downloaded MySQL Proxy from.