Uninstalling or removing MySQL Server from Linux Centos or RHEL is pretty easy. Let’s check the MySQL Service first if it is running and active.
sudo systemctl status mysqld
It should show you that the service is active and running.

Now to uninstall MySQL from RHEL or Centos, run below command
sudo yum remove mysql
The above command will run the uninstallation process and ask you if you are sure to remove MySQL Server. type y and it will remove MySQL Client and MySQL Server. To make sure the MySQL Server is removed from Linux machine, you can run

sudo systemctl status mysqld
It should return you message that service does not exists.

To follow step by step tutorial for MySQL DBA for beginner to Advance

MySQL Workbench Tutorial
MySQL DBA Certification Training
MySQL DBA Tutorial Step by Step
MySQL DBA Training online free
MySQL Real Time DBA Tutorial
MySQL Administration Course step by Step
MySQL Tools for Development and Admin

Nguồn: https://shaarique.com/

Xem thêm bài viết khác: https://shaarique.com/cong-nghe/

Leave a Reply