Package ‘mysql-server-5.5’ has no installation candidate

ve Techno
1 min readJan 4, 2023

It looks like the MySQL 5.5 package is no longer available in the repository.

MySQL 5.5 has reached its End of Life (EOL) and is no longer supported. It is recommended to use a more recent version of MySQL, such as MySQL 8.0.

To install MySQL 8.0 on Ubuntu, you can follow these steps:

  1. Add the MySQL repository to your system by running the following command:
wget https://dev.mysql.com/get/mysql-apt-config_0.8.15-1_all.deb
sudo dpkg -i mysql-apt-config_0.8.15-1_all.deb

2. Update the package list:

sudo apt-get update

3. Install MySQL 8.0:

sudo apt-get install mysql-server

4. During the installation process, you will be prompted to set a password for the MySQL root user. Choose a strong password and make sure to remember it.

5. Once the installation is complete, start the MySQL service:

sudo service mysql start

6. Verify that the MySQL service is running by checking its status:

sudo service mysql status

That’s it! You should now have MySQL 8.0 installed on your Ubuntu system.

--

--