Ubuntu 20.04にMySQL 5.7をインストールする必要があります。こうしました。ここ。これを行う前に、apt purge mysql-client mysql-server
システムからバージョン8.0.Xをアンインストールしました。
ところで、インストール時にapt install mysql-community-server=5.7.35-1ubuntu18.04
次のエラーが発生します。
-- Automatic restarting of the unit mysql.service has been scheduled, as the
result for
-- the configured Restart= setting for the unit.
Okt 16 13:17:11 walter-CLS systemd[1]: Stopped MySQL Community Server.
-- Subject: A stop job for unit mysql.service has finished
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A stop job for unit mysql.service has finished.
--
-- The job identifier is 12725 and the job result is done.
Okt 16 13:17:11 walter-CLS systemd[1]: mysql.service: Start request repeated too quickly.
Okt 16 13:17:11 walter-CLS systemd[1]: mysql.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit mysql.service has entered the 'failed' state with result 'exit-code'.
Okt 16 13:17:11 walter-CLS systemd[1]: Failed to start MySQL Community Server.
-- Subject: A start job for unit mysql.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit mysql.service has finished with a failure.
この問題を解決するために何ができるかを知っている人はいますか?
編集:20.04 UbuntuでMySQL 5.7を使用する理由は、古いシステムがBionic 18.04で、Typo3 {7.6.2]を持ち、Ubuntu 20.04のMySQL 8.0.XではなくMySQL 5.7でのみ機能するためです。現在20.04システムでMySQL 5.7を実行している場合は、MYSQL 8.0.Xと互換性があるように新しいPCでTypo 7.6.20 MySQL-DBをアップグレードする方法を知りたいです。Typo3
互換性のリストは次のとおりです。Typo3_vs_MySQL?
ありがとう
ベストアンサー1
その理由は古いMYSQL DB(8.0)を使用しているからです/var/lib/mysql
。削除した後はできました。