0
0

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 3 years have passed since last update.

MariaDBが起動できない

Posted at

systemctl start mariadb.service

エラー出る
Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.

/var/log/message を確認

Database MariaDB is not initialized, but the directory /var/lib/mysql is not empty, so initialization cannot be done.
の記述を見つける

/var/lib/mysql/mysql.sock
があるけど、権限を777とかにしてもダメだった

ためしに/var/lib/mysql/mysql.sockを削除したら出来た

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?