Bug #82920 Unable to start mysqld due to changes in mysqld_safe
| Submitted: | 9 Sep 2016 6:42 | Modified: | 3 Feb 2017 14:45 |
|---|---|---|---|
| Reporter: | Simon Mudd | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
| Version: | 5.5.52, 5.6.33, 5.7.15 | OS: | CentOS (6.X) |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | mysqld_safe, regression, startup | ||
[9 Sep 2016 6:42]
Simon Mudd
[9 Sep 2016 6:55]
Simon Mudd
Change the Synopsis to make the "problem" clearer. The description in the ticket shows why this happens.
[9 Sep 2016 7:20]
Shane Bester
Verified, it fails with message: mysqld_safe --mysqld option can only be used as command line option, found in config file
[3 Feb 2017 14:45]
Paul DuBois
Posted by developer: Noted in 5.5.55, 5.6.36, 5.7.18, 8.0.1 changelogs. Changes made to mysqld_safe in recent MySQL releases require the --ledir, --mysqld, --mysqld-version options to be specified on the command line; they can no longer be specified in option files. This could cause failure of init scripts that invoke mysqld_safe. Such scripts now pass MYSQLD_OPTS as the first command-line argument to mysqld_safe, with the value set to such command line-only mysqld_safe option values as may be required. On platforms that use systemd, the MYSQLD_OPTS value can be set in /etc/sysconfig/mysqld with a line such as this: MYSQLD_OPTS=" --ledir=/mysqld_ledir --mysqld=my_wrapper " The value of MYSQLD_OPTS can also include mysqld options for mysqld_safe to pass to mysqld.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.042 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.