package:mysql-server-5.7:5.7.23-0ubuntu0.16.04.1 Setting up mysql-server-5.7 (5.7.23-0ubuntu0.16.04.1) ... [?1049h[?25l(B                            [?25l[?12l[?25hPackage configuration┌────────────────────┤ Configuring mysql-server-5.7 ├─────────────────────┐│ While not mandatory, it is highly recommended that you set a password │ │ for the MySQL administrative "root" user. │ │ │ │ If this field is left blank, the password will not be changed. │ │ │ │ New password for the MySQL "root" user: │ │ │ │ _________ ______________________________________________________________ │ │ │ │ │ │ │ └─────────────────────────────────────────────────────────────────────────┘  [?25l[?12l[?25h(B  [?1049lupdate-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Renaming removed key_buffer and myisam-recover options (if present) 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 Fri 2018-08-03 20:09:10 IST; 12ms ago Process: 20498 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS) Process: 20497 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE) Process: 20473 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) Main PID: 20497 (code=exited, status=1/FAILURE) Aug 03 20:09:10 rjbanna systemd[1]: Failed to start MySQL Community Server. Aug 03 20:09:10 rjbanna systemd[1]: mysql.service: Unit entered failed state. Aug 03 20:09:10 rjbanna systemd[1]: mysql.service: Failed with result 'exit...'. Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package mysql-server-5.7 (--configure): subprocess installed post-installation script returned error exit status 1