The script in /var/lib/mysql-files seems very old;
We do something similar now, but the "install plugin" line was removed, because
that line will return an error if the plugin is already installed, aborting the
script before it reaches shutdown, thus causing the installation to hang.
If that
** Description changed:
$ sudo apt purge mysql-server
$ sudo rm -rf /etc/mysql
$ dpkg -l | grep mysql
result:
ii libmysqlclient21:amd64 8.0.23-0ubuntu0.20.04.1
amd64MySQL database client library
ii mysql-common
** Changed in: mysql-8.0 (Ubuntu)
Assignee: (unassigned) => Lars Tangvald (lars-tangvald)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636
Title:
package mysql-server-8.0
Looks like there is some environment handling issue during the
migration. I found a way to clean up the issue.
1. dpkg -l |grep mysql
2. purge all mysql packages.
3. rm -rf /etc/mysql rm -rf /var/lib/mysql*
4. apt-get install mysql-server. this will work.
Looks like it is the
Here are the steps to recreate the issue.
1. Use the following tutorial to install mysql 5.7 on ubuntu 20.04. Insert
some data into the database.
https://techexpert.tips/mysql/installing-mysql-5-7-ubuntu-20-04/
2. Uninstall mysql-client, mysql-community-server, and mysql-server.
I stopped mysql server with "systemctl stop mysql" and tried to start it
with " systemctl start mysql". Same thing happened. systemctl hanged
even though mysql server came up. I can connect to mysql server with no
issue.
** Changed in: mysql-8.0 (Ubuntu)
Status: Incomplete => Confirmed
Hi Yuan, please do not call the /etc/init.d scripts directly, they're
not guaranteed to work as one may expect and are in good part a legacy a
pre-systemd times. Please use systemctl(1) instead, e.g.:
$ systemctl status mysql
$ systemctl stop mysql
$ systemctl start mysql
and similar.
**
Looks like it is an issue of /etc/init.d/mysql. I did not see any
error except /etc/init.d/mysql hanged. mysql server runs ok. I
compared mysql 5.7 version of /etc/init.d/mysql and the mysql 8 version
of /etc/init.d/mysql. Those two files are identical. Should that
script be updated?
--
/etc/init.d/mysql start does not return even though msyql server runs
fine. I can run mysql to connect to the db server.
021-02-17T20:58:31.388560Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld
(mysqld 8.0.23-0ubuntu0.20.04.1) starting as process 362367
2021-02-17T20:58:31.415192Z 1 [System]
** Changed in: mysql-8.0 (Ubuntu)
Status: Incomplete => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636
Title:
package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
Hi Muhammad,
IMHO the problem is right at the start, one should not manually remove /ect/*
files :-)
But ok, let us consider it happened somehow and you now need to resolve things.
If you look at this example you'll see that /etc/mysql belongs not to
the package you purged
root@f:~# for i in
Thank you for your report.
This looks like a local configuration problem, rather than a bug in
Ubuntu.
You can find pointers to get help for this sort of problem here:
http://www.ubuntu.com/support/community
Since we use this bug tracker to track bugs in Ubuntu, rather than
configuration
** Tags removed: need-duplicate-check
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914636
Title:
package mysql-server-8.0 8.0.23-0ubuntu0.20.04.1 failed to
install/upgrade: installed
-
Fixing method:
Check if /etc/mysql directory exist. If it exist, then check if
/etc/mysql/conf.d/ exist. It it not exist, then check if
/etc/mysql/mysql.conf.d exist. If it exist then run the command below.
$ sudo ln -s /etc/mysql/mysql.conf.d /etc/mysql/conf.d
That command
14 matches
Mail list logo