In Ubuntu you can download applications, servers such as Moodle and PhpMyAdnim, the latter is a database manager found on the web, it can be installed, its download is free, it is also open source. Often this manager is no longer needed by its users So try to uninstall it, in the next article we will show you how to do it in a very simple way.
With this terminal command, start uninstalling phpMyAdnim from Ubuntu
Ubuntu users often no longer need to have database administrators, so they are looking to uninstall or remove MySQL or phpMyAdnim.
To remove or uninstall phpMyAdnim you can do so using a terminal command. This is the command: sudo apt removes phpMyAdnim.
This uninstallation can be done directly, this is very simple, below you will be shown the steps you need to follow to uninstall:
- Open the terminal or control consoleYou can do this by pressing Ctrol + Alt + on the keys if you can’t search for it in applications.
- Now run the following command to uninstall phpMyAdnim; sudo apt removes phpMyAdnim
- You will then be shown a new screen where you have to press the accept option or press the letter S.
- Now you need to press confirmation If you want to deconfigure the phpMyAdnim database, if you have confirmed this, then the database created by phpMyAdnim will be deleted.
- On the next screen that will open you need to press the letter S.
- To confirm or validate the process, you must enter the phpMyAdnim password in the field that indicates it and the process will end.
- To remove all packages associated with phpMyAdmin you need to apply the following command; sudo apt purge phpMyAdmin.
- Now you need to confirm all these actions by pressing the S key, doing all this you will have successfully uninstalled phpMyAdmin from Ubuntu.
How do I remove files from the phpMyAdmin package on Ubuntu?
To uninstall the phpMyAdmin database manager, the first thing you need to do is delete the files installed in the package. To do this, you need to follow these steps:
- Open the terminal, press the keys Ctrol + Alt + t
- Now run this command; sudo rm –f / etc / apache / conf-available / phpMyAdmin.conf
- Done, you will have uninstalled the files from the Ubuntu phpMyAdmin package.
How do I delete the configuration file from Ubuntu?
After you have already deleted the files you will need to delete the configuration file, which is located in the settings folder that are available on the Apache HTTP server, to do this you must follow the steps below.
- Open the Ubuntu terminal, to do this, press Ctrol + Alt + t
- You must now run the following command: sudo rm –f /etc/apache2/conf-availble/phpMyAdmin.conf
- Done, you will have deleted the configuration file.
You need to restart Apache2 to complete the uninstallation of phpMyAdmin
Yes, Apache2 must be restarted for the uninstallation of phpMyAdmin to complete successfully on Ubuntu, restarting Apache2 is the last step.
This step, to restart Apache, is very necessary, because a configuration file is deleted from the Apache HTTP server folder, to restart Apache2 you must follow these steps:
- Open the terminal by pressing Ctrol + Alt + t.
- Next, place the following command in the terminal: sudo service apache2 restart
- By completing this, you will have completely uninstalled phpMyAdmin from Ubuntu.
Many times users of this server try to remove or uninstall it because they have had problems with it. these problems can be caused by the Ubuntu version, that’s why we recommend that you upgrade Ubuntu to the latest version.