-
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
Public bug reported:
$ 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 5.8+1.0.5ubuntu2