0

I am trying to install mysql 5.7 on Ubuntu 22.04 but not able to find the options to install.

Getting errors like :

The following packages have unmet dependencies:
 mysql-community-server : Depends: mysql-client (= 5.7.39-1ubuntu18.04) but 8.0.30-0ubuntu0.22.04.1 is to be installed
E: Unable to correct problems, you have held broken packages.
Stalin
  • 1

1 Answers1

0

It's generally a bad idea to install deprecated software on a new system. Your best option is to isolate the old software in containers, for instance with Docker (I believe this is one of the reasons for containers in the first place).

This is the current Docker image for MySQL 5.7.

It is possible to hack your way through by customizing repositories and configurations, but it's unlikely to end well in the long run.

Artur Meinild
  • 26,018