编辑:已解决sudo apt-get purge mysql-common
我想在 Debian 10 上安装 mysql。为此我遵循本教程。
安装过程中需要输入 root 密码。无法以 root 身份登录 mysql 服务器,所以我想卸载它,重新安装并更改密码。
现在,在安装过程中我不再有输入 mysql 的 root 密码的窗口,并且出现以下错误:
update-alternatives: using /var/lib/mecab/dic/ipadic-utf8 to provide /var/lib/mecab/dic/debian (mecab-dictionary) in auto mode
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
mysql-common
mysql-community-server
mysql-server
mysql-community-client
mysql-client
E: Sub-process /usr/bin/dpkg returned an error code (1)
我已经测试干净了:
sudo apt remove mysql-server
sudo apt autoremove
sudo apt autoclean