You can utilise a variety of software for data management, and MySQL is one of them. It is a database management system which you can also install on your Linux system to manage data for various purposes. MySQL can be deleted if it is causing issues with the Linux Mint operating system. To know how to remove and install MySQL again on Linux Mint 21 follow this guide.
How to Completely Remove and Install MySQL on Linux Mint 21
To install MySQL on Linux Mint first you need to remove any version of it including other files or dependencies, to do so follow the steps mentioned below:
Step 1: To remove MySQL including all its dependencies execute the command given below:
Step 2: To remove MySQL including all its dependencies execute the command given below:
Step 3: To remove MySQL and remaining files execute the command given below:
Step 4: To clear the local repository execute the command given below:
Step 5: To clear the databases created during installation execute the command given below:
Step 6: Now go to the browser and download the MySQL for your Linux Mint:
You will be asked to sign up for an account but you can skip it by clicking on the No thanks, just start my download.
Step 7: Now to install the deb file you just downloaded, execute the command mentioned below:
Step 8: Execute the following command to go to the root:
Step 9: Now configure the MySQL by running the command mentioned below and then press enter after the execution:
Step 10: Press Enter to continue:
Step 11: Now select the MySQL version and press Enter:
Step 12: Now update your system by running the command mentioned below:
Step 13: You can install MySQL server by running the command given below:
Step 14: To check the status of the MySQL server run the command given below:
Step 15: To check the version of the mysql you just installed run the command given below:
You can make a database for the management of any type of data you want by using MySQL. Most of the time you need a database management system when you have a large amount of data like in corporate sectors. In this guide we discussed how we can completely remove MySQL and install it again on Linux Mint 21.