uninstall MySQL server and install it fresh again. Restoration issue
I had a recent crash on the server.
I need to uninstall the MySQL, install it again (v 5.5.58-1 if I am not mistaken) and after to delete the /var/lib/mysql/ directory and replace it with the automatic system's "backup" that WHM has. file name _var_lib_mysql.tar
So,
Can anyone tell me the correct procedure to uninstall the MySQL, and after to install it?
server centos6
Also,
/scripts/mysqlup --force
-bash: /scripts/mysqlup: No such file or directory
-
Hello, Here are the commands you would use to uninstall the existing MySQL 5.5 RPMs from the system: /usr/local/cpanel/scripts/update_local_rpm_versions --edit target_settings.MySQL55 uninstalled /usr/local/cpanel/scripts/check_cpanel_rpms
Then, to install the RPMs again, you'd run the following commands:/usr/local/cpanel/scripts/update_local_rpm_versions --edit target_settings.MySQL55 installed /usr/local/cpanel/scripts/check_cpanel_rpms
Thank you.0
Please sign in to leave a comment.
Comments
1 comment