[MDEV-17207] mysqld_multi calls my_print_defaults with unkown option "--mysqld" Created: 2018-09-17 Updated: 2018-09-21 Resolved: 2018-09-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.1.34 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Robert Holzknecht | Assignee: | Sergei Golubchik |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Gentoo Linux |
||
| Description |
|
I just upgraded mariadb from 10.0.28 to 10.1.34 And run into the following issue: host - # > mysqld_multi start 1,2 I haven't changed anything in my my.cnf (defiend two instances: [mysqld1] and [mysqld2]). BR. |
| Comments |
| Comment by Sergei Golubchik [ 2018-09-19 ] | ||||||||
|
my_print_defaults supported --mysqld option in 5.5 since 5.5.37, in 10.0 since 10.0.11, and in all versions of 10.1 If you're getting this error you're probably using my_print_defaults from MySQL, not from MariaDB | ||||||||
| Comment by Robert Holzknecht [ 2018-09-20 ] | ||||||||
|
I'm using Gentoo Linux. so.... | ||||||||
| Comment by Sergei Golubchik [ 2018-09-21 ] | ||||||||
|
I've just downloaded this tarball using your link above, and in extra/my_print_defaults.c file I see
which defines --mysqld command line option. You might have some other my_print_defaults binary somewhere in your path | ||||||||
| Comment by Robert Holzknecht [ 2018-09-21 ] | ||||||||
|
Thanks Sergei - just found it. You where absolutely right... Where is my_print_defaults coming from?
In Gentoo it seems you have explicitly define the so called "use-flag" client-libs: client-libs --> Build the client libraries from the server package instead of the C Connector packages _
Sorry for bothering you... BR, |