[MDEV-13978] mysqld_safe may incorrectly detect basedir when started as script Created: 2017-10-01 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.1.28, 10.2.10 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Andrii Nikitin (Inactive) | Assignee: | Nikita Malyavin |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
I want to debug mysqld_safe and start it as:
This typically results in error like below:
Suggested fix which works with bash , needs to be verified on other platforms:
|
| Comments |
| Comment by Andrii Nikitin (Inactive) [ 2017-10-01 ] | |
|
I know direct workaround is to use full path like below:
But the problem may happen as well in various scenarios where mysqld_safe is called from other scripts. | |
| Comment by Andrii Nikitin (Inactive) [ 2017-11-09 ] | |
|
| |
| Comment by Arnaud Adant [ 2017-11-20 ] | |
|
I ran into this problem when upgrading to 10.1.29 rpms. The workaround I found is :
|