Hello and thanks for your bug report. From the logs it seems that mysql failed to start because of another "stray" instance of mysql running in background:
2021-02-03T08:20:14.195877Z 0 [ERROR] [MY-011300] [Server] Plugin mysqlx reported: 'Setup of socket: '/var/run/mysqld/mysqlx.sock' failed, can't create lock file /var/run/mysqld/mysqlx.sock.lock' 2021-02-03T08:20:14.196099Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '127.0.0.1' port: 33060 2021-02-03T08:20:14.515815Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed. 2021-02-03T08:20:14.516001Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel. 2021-02-03T08:20:14.517022Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Address already in use 2021-02-03T08:20:14.517161Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 3306 ? 2021-02-03T08:20:14.517454Z 0 [ERROR] [MY-010119] [Server] Aborting This may happen if mysql is started manually instead of using the init system helper scripts (systemctl <start|stop> <service>). Could this be the case? Waiting for your reply I'm setting the status of this bug report to Incomplete. ** Changed in: mysql-8.0 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1914370 Title: package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1914370/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs