Technoracle
    Facebook Twitter Instagram
    • Sitemap
    • Privacy Policy
    • Disclaimer
    • Term of Services
    Facebook Twitter Instagram Pinterest Vimeo
    TechnoracleTechnoracle
    • Tutorials
      • Amazon Cloud
      • Google Cloud
    • How To
    • Blog
    • About
    Subscribe
    Technoracle
    Home»How To»How to Uninstall MySQL from Ubuntu 20.04
    How To

    How to Uninstall MySQL from Ubuntu 20.04

    Rajesh ShivamBy Rajesh ShivamMay 14, 2021Updated:July 17, 2021No Comments1 Min Read
    Share Facebook Twitter Pinterest LinkedIn Tumblr Reddit Telegram Email
    Uninstall MySQL from Ubuntu 20.04
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Sometimes we may need to uninstall or purge MySQL from ubuntu. In this article, I will share steps to uninstall MySQL from Ubuntu 20.04. So, let’s get started.

    Remove MySQL | Uninstall MySQL from Ubuntu 20.04

    Before removing MySQL. first, make sure your MySQL service is stopped. To stop MySQL, run the following command.

    $ sudo systemctl stop mysql

    Also, you have to kill the MySQL processes. Check and kill the MySQL processes by the following commands.

    $ sudo killall -9 mysql
    $ sudo killall -9 mysqld
    • killall: killall command kills processes by name. killall orders end running cycles dependent on their names and different attributes. A killall process never kills itself.

    Steps to Remove MySQL from Ubuntu 20.04

    To uninstall or purge MySQL from Ubuntu, open the terminal and run the following commands.

    1. sudo rm -rf /var/log/mysql
    2. sudo rm -rf /etc/mysql
    3. sudo rm -rf /usr/bin/mysql
    4. sudo deluser -f mysql
    5. sudo apt autoremove
    6. sudo apt autoclean

    Read Here: How to fix MySQL 1064 Error.

    Conclusion

    In this short article, you have learned to uninstall MySQL from Ubuntu 20.04. If you like this article, please share it on your social media handle.

    ubuntu tips
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Previous ArticleHow to Install GoDaddy SSL Certificate on cPanel in 3 steps[ Complete Guide ]
    Next Article Google Photos Major Update | How to Take Backup from Google Photos
    Rajesh Shivam

    Hello, everyone, I am Rajesh Shivam, I am a full-time freelancer with more than seven years plus experience in different freelancing platforms, in this blog, I am going to provide complete freelancing tips and tricks.

    Related Posts

    How To

    How to Install Microsoft Teams on Ubuntu 22.04 Easily

    February 22, 2023
    Read More
    How To

    What is Elastic IP and Its Pricing in AWS

    February 22, 2023
    Read More
    How To

    How to Convert PEM to PPK file [Step by Step Guide]

    February 22, 2023
    Read More
    Add A Comment

    Leave A Reply Cancel Reply

    Facebook Twitter Instagram Pinterest
    © 2023 Technoracle

    Type above and press Enter to search. Press Esc to cancel.

    Go to mobile version