Bug #16392 | mysqld_safe --help command deletes the socket file | ||
---|---|---|---|
Submitted: | 12 Jan 2006 0:20 | Modified: | 31 Mar 2006 21:46 |
Reporter: | Michelle Chen | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.1.18-BK, 4.1.14 | OS: | Linux (Linux, Solaris) |
Assigned to: | Kent Boortz | CPU Architecture: | Any |
[12 Jan 2006 0:20]
Michelle Chen
[21 Jan 2006 16:29]
Valeriy Kravchuk
Thank you for a bug report. Verified just as described with 4.1.18-BK (ChangeSet@1.2481, 2006-01-20 00:08:26+11:00) on Linux: [openxs@Fedora 4.1]$ bin/mysqld_safe --pid-file=/tmp/Fedora.pid & [1] 5426 [openxs@Fedora 4.1]$ Starting mysqld daemon with databases from /home/openxs/dbs/4.1/var [openxs@Fedora 4.1]$ ls -l /tmp total 1640 -rwx------ 1 openxs openxs 491422 Jan 11 16:39 16082.txt -rw-rw---- 1 openxs openxs 5 Jan 21 19:12 Fedora.pid drwx------ 3 openxs openxs 4096 Jan 21 16:22 gconfd-openxs srwxrwxr-x 1 openxs openxs 0 Jan 21 16:22 mapping-openxs srwxr-xr-x 1 root root 0 Jul 29 12:49 mapping-root srwxrwxrwx 1 openxs openxs 0 Jan 21 19:12 mysql.sock srwxrwxrwx 1 openxs openxs 0 Oct 30 15:13 mysqlmanager.sock drwx------ 2 openxs openxs 4096 Jan 21 17:09 orbit-openxs drwx------ 2 root root 4096 Jan 1 1970 orbit-root -rwx------ 1 openxs openxs 1152364 Jan 11 20:53 shared3.sql -rw-rw---- 1 mysql mysql 3828 Jan 14 13:14 slow.log drwx------ 2 openxs openxs 4096 Jan 21 16:22 ssh-wbuG4428 [openxs@Fedora 4.1]$ bin/mysqld_safe --help Starting mysqld daemon with databases from /home/openxs/dbs/4.1/var STOPPING server from pid file /home/openxs/dbs/4.1/var/Fedora.pid 060121 19:12:56 mysqld ended [openxs@Fedora 4.1]$ ls -l /tmp total 1640 -rwx------ 1 openxs openxs 491422 Jan 11 16:39 16082.txt -rw-rw---- 1 openxs openxs 5 Jan 21 19:12 Fedora.pid drwx------ 3 openxs openxs 4096 Jan 21 16:22 gconfd-openxs srwxrwxr-x 1 openxs openxs 0 Jan 21 16:22 mapping-openxs srwxr-xr-x 1 root root 0 Jul 29 12:49 mapping-root srwxrwxrwx 1 openxs openxs 0 Oct 30 15:13 mysqlmanager.sock drwx------ 2 openxs openxs 4096 Jan 21 17:09 orbit-openxs drwx------ 2 root root 4096 Jan 1 1970 orbit-root -rwx------ 1 openxs openxs 1152364 Jan 11 20:53 shared3.sql -rw-rw---- 1 mysql mysql 3828 Jan 14 13:14 slow.log drwx------ 2 openxs openxs 4096 Jan 21 16:22 ssh-wbuG4428 Note, that mysql.sock disappeared. mysqld_safe script of 5.0.x works correctly, by the way, giving appropriate messages.
[23 Jan 2006 23:06]
Michelle Chen
Is there a fix for the bug except for the upgrade to the new version? Thanks. - Michelle
[31 Mar 2006 21:46]
Kent Boortz
The --help option was back ported from 5.0.