diff options
Diffstat (limited to 'scripts/safe_mysqld.sh')
-rwxr-xr-x | scripts/safe_mysqld.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/safe_mysqld.sh b/scripts/safe_mysqld.sh index 1f481f07fed..c2da0f2ea73 100755 --- a/scripts/safe_mysqld.sh +++ b/scripts/safe_mysqld.sh @@ -56,11 +56,11 @@ else ledir=@libexecdir@ fi -pid_file=$DATADIR/`/bin/hostname`.pid +pid_file=$DATADIR/`@HOSTNAME@`.pid MYSQL_UNIX_PORT=@MYSQL_UNIX_ADDR@ MYSQL_TCP_PORT=@MYSQL_TCP_PORT@ -log=$DATADIR/`/bin/hostname`.log -err_log=$DATADIR/`/bin/hostname`.err +log=$DATADIR/`@HOSTNAME@`.log +err_log=$DATADIR/`@HOSTNAME@`.err user=@MYSQLD_USER@ # Get first arguments from the my.cfg file, groups [mysqld] and [safe_mysqld] |