3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

UbuntuでMariaDBをうまく再インストールできなくなったときの対処方法

Last updated at Posted at 2016-06-29

MariaDBを再インストールしようとして、どうしようもなくなってしまった場合の対処方法についてまとめます。

#前提

#コマンド
無駄なコマンドも混ざっていますが、とりあえずこのように実行していくと、うまく再インストールできるようです。

sudo rm -r /etc/ld.so.conf.d/mysql /etc/mysql/my.cnf /usr/local/mysql /var/log/mysql/error.log
sudo apt purge mariadb-common mariadb-server
sudo apt autoremove
sudo apt clean
sudo apt install mariadb-common mariadb-server mariadb-client

#参考文献

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?