[bug-notifications] [mysql5 0004798]: mysql_secure_installation returns error with current mysql5 package

Mantis Bug Tracker noreply at opencsw.org
Wed Sep 21 14:26:38 CEST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4798 
====================================================================== 
Reported By:                AirOnSkin
Assigned To:                
====================================================================== 
Project:                    mysql5
Issue ID:                   4798
Category:                   packaging
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2011-06-30 11:45 CEST
Last Modified:              2011-09-21 14:26 CEST
====================================================================== 
Summary:                    mysql_secure_installation returns error with current
mysql5 package
Description: 
After installing mysql5 and running mysql_secure_installation the script
breaks at the second action (removing anonymous user) because the first
action (setting the root password) doesn't work. The new root password
doesn't get applied (even if the output says so), hence the script has no
rights for the second action.

After typing the new root password twice the following appears (full log
attached):

Reloading privilege tables..
/opt/csw/mysql5/bin/sparcv9/mysql_secure_installation: !: not found
====================================================================== 

---------------------------------------------------------------------- 
 (0009293) AirOnSkin (reporter) - 2011-09-21 14:26
 https://www.opencsw.org/mantis/view.php?id=4798#c9293 
---------------------------------------------------------------------- 
This issue has already been reported to the MySQL guys. See here:
http://bugs.mysql.com/bug.php?id=48086

Newer versions of MySQL include a script which still calls /bin/sh but
abandon the use of the "if ! foo; then bar; fi" syntax.



More information about the bug-notifications mailing list