Bug #58483 Scripts under /bin should move to /scripts
Submitted: 25 Nov 2010 10:21 Modified: 1 Feb 2011 14:55
Reporter: Nirbhay Choubey Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:Any OS:Any
Assigned to: CPU Architecture:Any

[25 Nov 2010 10:21] Nirbhay Choubey
Description:
I see a number of shell and perl scripts lying under /bin
directory of MySQL binary distribution. I would recommend
to move them to /scripts directory.

How to repeat:
cd bin

file * | grep script
msql2mysql:                 POSIX shell script text executable
mysqlaccess:                a /usr/bin/perl script text executable
mysqlbug:                   POSIX shell script text executable
mysql_config:               POSIX shell script text executable
mysql_convert_table_format: a /usr/bin/perl script text executable
mysqld_multi:               a /usr/bin/perl script text executable
mysqld_safe:                POSIX shell script text executable
mysqldumpslow:              a /usr/bin/perl script text executable
mysql_find_rows:            a /usr/bin/perl script text executable
mysql_fix_extensions:       a /usr/bin/perl script text executable
mysqlhotcopy:               a /usr/bin/perl script text executable
mysql_secure_installation:  POSIX shell script text executable
mysql_setpermission:        a /usr/bin/perl script text executable
mysql_zap:                  a /usr/bin/perl script text executable
[25 Nov 2010 19:18] Sveta Smirnova
Thank you for the report.

Of course this is true, so bug is verified.

But I rather vote for this will be left as is, because moving these files can break a lot of environments which rely on current layout existed for years.
[3 Dec 2010 14:32] John Embretsen
How about a justification for this request? I'm not objecting, I'm just missing an answer to the question "Why?".
[3 Dec 2010 19:14] Nirbhay Choubey
Hi John,

The presence of 'scripts' directory in mysql distribution made me
think in this direction.

However, I agree (with Sveta) that, making this sort of change
will break the code(s) using the existing layout and it might
cause more damage than good.
[28 Jan 2011 13:25] Joerg Bruehe
Nirbhay,
are you aware of the consequences?

Moving these files from "bin/" to "scripts/" will typically mean they are not in the user's PATH any more, unless PATH is changed.
This is no positive prospect IMO, rather damaging.

I propose to close as "Not a bug".
[28 Jan 2011 13:53] Nirbhay Choubey
Joerg,

Agreed. Moving them to scripts will do more bad
than good.

Please, mark it as 'Not a bug'.
[1 Feb 2011 14:55] Joerg Bruehe
See the last entries - the proposal is withdrawn (for good reasons).