Steps of installing MySQL 8.0.27 version in Linux virtual machine using CLI
Here we are installing the old version of MySQL to perform various tasks. So for that. First, we will go to the MySQL Community website to check whether the version we want is available in the MySQL Product Archives. We will copy the download link of the version we want and then go to the CLI to install it into the Linux server.
Then we write the command, wget and paste the link we copied earlier, and hit the enter button to install it. We can make another directory to locate the file in another place.
Once it is installed we can use tar command to get an appropriate version of that installed file. When it is installed you can check the installed files using ls command. It will look like this. These are the files that we need to install to run MySQL 8.0.27 version without getting an error.
To install all the files at a time, we will use dpkg -i * command. So that it will be installed automatically without an error.
Once it is installed you can check the version highlighted in the above image.
Once everything is done then you can start creating database and tables on it by getting inside of the MySQL server.
So this is how we can install MySQL server no matter which version it is. And by configuring all the steps we will be able to start working on MySQL server.
So this is the entire process of installing MySQL server in Linux virtual machine using CLI.