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:
None 
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
Description:
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

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.067 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.