mysql-systemd-start causes issues with install and MySQL initialisation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
New
|
Undecided
|
Unassigned |
Bug Description
I have noticed that the install of PS has tended to fail to complete successfully, at least on a number of Debian 8 servers and instead hangs until a timeout. The systemd service also fails to start.
The issue seems to be caused by the creation of the mysql dir in datadir (https:/
This produces:
mysql-systemd-
Removal of the test and creation of the directory before the initialise then works fine, although the test will produce an error (but continues) and so that needs adjusting:
mysql-systemd-
More info from Ceri:"I have just done a PS 5.7 Deb install that seemed to go through OK - I unmounted the LV and moved the existing mount point before doing the install - perhaps the issue happens when the OS has been installed, /var/lib/mysql exists (as an LV is mounted) and possible due to ownership?"