Bug #38836 mysql.server
Submitted: 16 Aug 2008 17:25 Modified: 17 Aug 2008 8:02
Reporter: Richard Brown Email Updates:
Status: Verified Impact on me:
Category:MySQL Server: General Severity:S3 (Non-critical)
Version:5.0.67, 5.0, 5.1, 6.0 bzr OS:Any
Assigned to: CPU Architecture:Any

[16 Aug 2008 17:25] Richard Brown
support-files/mysql.server LINE #327
Line to run bin/mysqld_safe is missing the --user modifier

If use_mysql_safe flag is set to 1 users will most likely experience issues with this.

How to repeat:
run ./path/to/mysql/support-files/mysql.server start

Suggested fix:
add modifier --user=$user

OLD LINE: $bindir/mysqld_safe --datadir=$datadir --pid-file=$server_pid_file $other_args >/dev/null 2>&1 &

NEW LINE: $bindir/mysqld_safe --user=$user --datadir=$datadir --pid-file=$server_pid_file $other_args >/dev/null 2>&1 &
[17 Aug 2008 8:02] Sveta Smirnova
Thank you for the report.

Verified as described.

Option "user" seems was working only for deprecated MySQL Instance Manager