Saltar al contenido

Linux How to uninstall phpMyAdmin and its files from Ubuntu easily and simply In Ubuntu you can download applications, servers like Moodle and …

Linux How to uninstall phpMyAdmin and its files from Ubuntu easily and simply In Ubuntu you can download applications, servers like Moodle and ...

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:

  1. 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.
  2. Now run the following command to uninstall phpMyAdnim; sudo apt removes phpMyAdnim
  3. You will then be shown a new screen where you have to press the accept option or press the letter S.
  4. 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.
  5. On the next screen that will open you need to press the letter S.
  6. To confirm or validate the process, you must enter the phpMyAdnim password in the field that indicates it and the process will end.
  7. To remove all packages associated with phpMyAdmin you need to apply the following command; sudo apt purge phpMyAdmin.
  8. Now you need to confirm all these actions by pressing the S key, doing all this you will have successfully uninstalled phpMyAdmin from Ubuntu.

phpmyadmin for 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:

  1. Open the terminal, press the keys Ctrol + Alt + t
  2. Now run this command; sudo rm –f / etc / apache / conf-available / phpMyAdmin.conf
  3. 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.

  1. Open the Ubuntu terminal, to do this, press Ctrol + Alt + t
  2. You must now run the following command: sudo rm –f /etc/apache2/conf-availble/phpMyAdmin.conf
  3. 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:

  1. Open the terminal by pressing Ctrol + Alt + t.
  2. Next, place the following command in the terminal: sudo service apache2 restart
  3. 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.