package:mysql-server-5.7:5.7.24-0ubuntu0.18.04.1 Installing new version of config file /etc/mysql/mysql.conf.d/mysqld.cnf ... update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Unable to determine if daemon is running: No such file or directory Warning: Unable to start the server. Please restart MySQL and run mysql_upgrade to ensure the database is ready for use. Unable to determine if daemon is running: No such file or directory Warning: Unable to start the server. Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details. invoke-rc.d: initscript mysql, action "start" failed. ● mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Tue 2019-01-22 12:24:15 IST; 8ms ago Process: 6106 ExecStart=/usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid (code=exited, status=1/FAILURE) Process: 6097 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) Jan 22 12:24:16 pc systemd[1]: Stopped MySQL Community Server. Jan 22 12:24:16 pc systemd[1]: Starting MySQL Community Server... Jan 22 12:24:16 pc mysqld[6156]: Unable to determine if daemon is running: No such file or directory Jan 22 12:24:16 pc systemd[1]: mysql.service: Control process exited, code=exited status=1 Jan 22 12:24:16 pc systemd[1]: mysql.service: Failed with result 'exit-code'. Jan 22 12:24:16 pc systemd[1]: Failed to start MySQL Community Server. Jan 22 12:24:16 pc systemd[1]: mysql.service: Service hold-off time over, scheduling restart. Jan 22 12:24:16 pc systemd[1]: mysql.service: Scheduled restart job, restart counter is at 3. Jan 22 12:24:16 pc systemd[1]: Stopped MySQL Community Server. Jan 22 12:24:16 pc systemd[1]: Starting MySQL Community Server... Jan 22 12:24:16 pc mysqld[6180]: Unable to determine if daemon is running: No such file or directory Jan 22 12:24:16 pc systemd[1]: mysql.service: Control process exited, code=exited status=1 Jan 22 12:24:16 pc systemd[1]: mysql.service: Failed with result 'exit-code'. Jan 22 12:24:16 pc systemd[1]: Failed to start MySQL Community Server. Jan 22 12:24:17 pc systemd[1]: mysql.service: Service hold-off time over, scheduling restart. Jan 22 12:24:17 pc systemd[1]: mysql.service: Scheduled restart job, restart counter is at 4. Jan 22 12:24:17 pc systemd[1]: Stopped MySQL Community Server. Jan 22 12:24:17 pc systemd[1]: Starting MySQL Community Server... Jan 22 12:24:17 pc mysqld[6204]: Unable to determine if daemon is running: No such file or directory Jan 22 12:24:17 pc systemd[1]: mysql.service: Control process exited, code=exited status=1 Jan 22 12:24:17 pc systemd[1]: mysql.service: Failed with result 'exit-code'. Jan 22 12:24:17 pc systemd[1]: Failed to start MySQL Community Server. dpkg: error processing package mysql-server-5.7 (--configure): installed mysql-server-5.7 package post-installation script subprocess returned error exit status 1