missing mysql.service definition for systemd

Bug #1708701 reported by Thomas Schweikle
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mysql-5.7 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

MySQL-Server will not start, because unit mysql(d).service is missing.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: mysql-server-core-5.7 5.7.19-0ubuntu0.16.04.1
Uname: Linux 4.12.4+ x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Fri Aug 4 19:27:05 2017
InstallationDate: Installed on 2011-10-19 (2115 days ago)
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: mysql-5.7
UpgradeStatus: Upgraded to xenial on 2017-08-03 (1 days ago)

Revision history for this message
Thomas Schweikle (tps) wrote :
Revision history for this message
Jens Askengren (jens-askengren) wrote :

Also, for the desktop version of Ubuntu, enabling on demand socket activation would make sense.
That way the boot will be fast and mysql would only require resources when actually used.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mysql-5.7 (Ubuntu):
status: New → Confirmed
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Thanks for filing this bug in Ubuntu.

The mysql startup scripts are present in the mysql-server-5.7 package:

root@xenial-mysql:~# dpkg -S /etc/init.d/mysql
mysql-server-5.7: /etc/init.d/mysql
root@xenial-mysql:~# dpkg -S /lib/systemd/system/mysql.service
mysql-server-5.7: /lib/systemd/system/mysql.service
root@xenial-mysql:~#

Please verify you have that package installed.

Changed in mysql-5.7 (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.