Cannot start Percona Server using mysql.server due to calling mysqld_safe from absolute path
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
||||
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.5 |
Fix Released
|
Medium
|
Unassigned | |||
5.6 |
Fix Released
|
Medium
|
Unassigned | |||
5.7 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
How to reproduce with MySQL sandbox:
1. Setup:
mkdir ~/binaries
cd ~/binaries
wget https:/
make_sandbox Percona-
sudo cp ~/sandboxes/
2. Testing:
cd ~/binaries/
./mysql.server stop
Shutting down MySQL (Percona Server)
... *
./mysql.server start
Starting MySQL (Percona Server)
.2017-03-
does not exist or is not executable. Please cd to the mysql installation
directory and restart this script from there as follows:
./bin/mysqld_safe&
See http://
* The server quit without updating PID file (/home/
3. To fix:
Edit mysql.server
Find:
$bindir/mysqld_safe --datadir=
Change to:
bin/mysqld_safe --datadir=
./mysql.server start
Starting MySQL (Percona Server)
.. *
tags: |
added: i166448 removed: 166448 |
summary: |
- Cannot start Percona Server using mysql.server due to default file path - for PS installation + Cannot start Percona Server using mysql.server due to calling + mysqld_safe from absolute path |
Changed in percona-server: | |
status: | New → Confirmed |
tags: | added: regression upstream |
This is fixed in upstream version 5.7.18. See https:/ /bugs.mysql. com/bug. php?id= 84263 and https:/ /bugs.mysql. com/bug. php?id= 84173 for details