package:mysql-server-5.7:5.7.18-0ubuntu0.16.04.1 Setting up mysql-server-5.7 (5.7.18-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 Wed 2017-05-31 14:30:33 EET; 7ms ago Process: 8758 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS) Process: 8757 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE) Process: 8750 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) Main PID: 8757 (code=exited, status=1/FAILURE) May 31 14:30:33 aeltaib-PC systemd[1]: Failed to start MySQL Community Server. May 31 14:30:33 aeltaib-PC systemd[1]: mysql.service: Unit entered failed state. May 31 14:30:33 aeltaib-PC systemd[1]: mysql.service: Failed with result 'e...'. 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