in DpkgTerminalLog.txt i see
Setting up mysql-server-8.0 (8.0.41-0ubuntu0.24.04.1) ...
mysqld will log errors to /var/log/mysql/error.log
mysqld is running as pid 10976
dpkg: error processing package mysql-server-8.0 (--configure):
installed mysql-server-8.0 package post-installation script subprocess
returned error exit status 1
in the attached mysql log
2025-02-10T09:55:52.205131Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld
(mysqld 8.0.41-0ubuntu0.24.04.1) starting as process 10974
<snip>
2025-02-10T09:55:56.237505Z 0 [System] [MY-013602] [Server] Channel mysql_main
configured to support TLS. Encrypted connections are now supported for this
channel.
2025-02-10T09:55:56.239602Z 0 [ERROR] [MY-010262] [Server] Can't start server:
Bind on TCP/IP port: Address already in use
2025-02-10T09:55:56.239609Z 0 [ERROR] [MY-010257] [Server] Do you already have
another mysqld server running on port: 3306 ?
2025-02-10T09:55:56.239621Z 0 [ERROR] [MY-010119] [Server] Aborting
I don't see a log from the original install of `mysql-server` which could be
helpful.
I tried a fresh install of mysql-server in a container, and didn't run
into any issues.
1. could you provide information about any possible running `mysql-server`
instances?
a. systemctl status mysql.service
2. is it possible mysql was installed via another means on the system before,
such as a snap, a container, etc?
3. have you tried to reinstall mysql? sudo apt reinstall mysql?
** 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/2097745
Title:
package mysql-server-8.0 8.0.41-0ubuntu0.24.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/2097745/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs