Hi Jad, from the log: 2017-06-24T14:47:03.009097Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 2017-06-24T14:47:03.054347Z 0 [Warning] InnoDB: New log files created, LSN=45790 2017-06-24T14:47:03.063658Z 0 [Warning] InnoDB: Creating foreign key constraint system tables. 2017-06-24T14:47:03.116195Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: fc4707d3-58eb-11e7-b020-54ee75c395cc. 2017-06-24T14:47:03.116347Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened. 2017-06-24T14:47:03.116907Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option
This is less "error" than what I usually see when it is failing an upgrade - so I can't spot a clear reason for it in there yet. The service status isn't much better either: ● mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sat 2017-06-24 17:47:37 EEST; 4ms ago Process: 5915 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS) Process: 5914 ExecStart=/usr/sbin/mysqld [0;1;31m(code=exited, status=127)[0m Process: 5906 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) Main PID: 5914 (code=exited, status=127) Jun 24 17:47:37 ubuntu systemd[1]: [0;1;39mmysql.service: Unit entered failed state.[0m Jun 24 17:47:37 ubuntu systemd[1]: [0;1;39mmysql.service: Failed with result 'exit-…de'.[0m Hint: Some lines were ellipsized, use -l to show in full. I wondered since that was the second report of the same kind (same no-error-msg, same release, ...) so I tried to recreate. I saw you first installed mysql-client (and its dependencies) which worked fine. And then failed on mysql-server, but running the same steps worked for me. Could you report the following if there is any more indicator to check what is failing on your system (that will be the non shortened version of what was found in the log)?: $ systemctl status mysql -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1700257 Title: package mysql-server-5.7 5.7.18-0ubuntu0.17.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1700257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs