[Bug 884544] New: 'my_print_defaults mysqld' does not show info about 'socket' or 'port'
https://bugzilla.novell.com/show_bug.cgi?id=884544 https://bugzilla.novell.com/show_bug.cgi?id=884544#c0 Summary: 'my_print_defaults mysqld' does not show info about 'socket' or 'port' Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: chris@computersalat.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 in earlier releases you could have use 'my_print_defaults mysqld' to get info about socket (needed by config.postfix). now it only shows the following: my_print_defaults mysqld --innodb_file_format=Barracuda --innodb_file_per_table=ON --server-id=1 --sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES Reproducible: Always Steps to Reproduce: 1. Install mariaDB 2. start mysqld 3. check out result of 'my_print_defaults mysqld' Actual Results: my_print_defaults mysqld --innodb_file_format=Barracuda --innodb_file_per_table=ON --server-id=1 --sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES Expected Results: my_print_defaults mysqld --innodb_file_format=Barracuda --innodb_file_per_table=ON --server-id=1 --socket=/var/run/mysql/mysql.sock --sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES when I check 'ps' I can see socket: ps aux | grep mysql root 11299 0.7 0.0 11900 1636 ? S 07:42 0:00 /bin/sh /usr/bin/mysqld_safe --mysqld=mysqld --user=mysql --pid-file=/var/run/mysql/mysqld.pid --socket=/var/run/mysql/mysql.sock --datadir=/var/lib/mysql mysql 11513 2.1 0.3 819752 87308 ? Sl 07:42 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/corp-new2.err --pid-file=/var/run/mysql/mysqld.pid --socket=/var/run/mysql/mysql.sock root 11544 0.0 0.0 12584 1016 pts/0 S+ 07:42 0:00 grep --color=auto mysql I only get 'the socket info' when I uncomment the 'socket' line in /etc/my.cnf -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=884544 https://bugzilla.novell.com/show_bug.cgi?id=884544#c Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com AssignedTo|bnc-team-screening@forge.pr |michal.hrusecky@opensuse.or |ovo.novell.com |g -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=884544 https://bugzilla.novell.com/show_bug.cgi?id=884544#c1 Michal Hrusecky <michal.hrusecky@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |draht@suse.com Resolution| |INVALID --- Comment #1 from Michal Hrusecky <michal.hrusecky@opensuse.org> 2014-07-11 06:55:54 UTC --- I think the behavior was the same before. It is just that before we had plenty of options explicitly set in configuration file while nowadays we rely more on defaults. But the reason you see socket in ps is that init script has defaults of it's own and even when it doesn't have option set in config file, it will pass the option to the daemon. We should probably get rid of that. You can try using mysqld --help --verbose | grep ^socket That one should work even when socket is not explicitly set in configuration file AFAIK. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com