mysql-5.7 crashes when using nmap to scan ports (mysql-5.7 is not installed but have tried to install in the past)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.7 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
i tried installing mysql in ubuntu 16.04, as it installed mysql-5.7 and I wanted 5.6 , I uninstalled 5.7 and installed 5.6 instead. After a few days, doing a scan of my open ports, a crash report pops up saying mysql-5.7 crashed and in the summary says it's not installed. Not sure what this means.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 (not installed)
ProcVersionSign
Uname: Linux 4.4.0-98-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Sat Mar 10 15:01:01 2018
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-09-03 (557 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.19
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Hi, mysqld/ mysqld. sock' (2) while connecting to the MySQL server
the error you ran into is from your logs:
mysql_upgrade: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/
That is unfortunately a known error which seems to take a while to resolve.
I'll dup your bug onto it, but for you the TL;DR is that it is evry likely to work on a retry as it is a race to not be available fast enough on install.