Stop worrying about your server.
cPanel/Plesk Server Management for just $59/mo with Unlimited tickets, Unlimited admin hours, Security audits, 24×7 monitoring and lot more
How to re-install MySQL in cPanel server:
You can re-install MySQL on cPanel server by following the method mentioned below,
Firstly you need to know the SQL rpms that were installed on your server. For that issue the following command,
rpm -qa | grep -i mysql
Then remove the needed MySQL rpms on the server using yum command. You can do that by referring the following yum commands.
yum remove MySQL55-shared-5.5.37-2.cp1136.x86_64
yum remove MySQL55-devel-5.5.37-2.cp1136.x86_64
yum remove MySQL55-client-5.5.37-2.cp1136.x86_64
After that remove the mysql pid file using the following command,
rm -f /var/lib/mysql/*.pid
At last you need to install cPanel compatible MySQL rpms, this can be done using a single command. See the command below,
Now MySQL will be re-installed.
If you need our help to fix any issue with your server. Please feel free to contact us, simply email to suppor[at]iserversupport.com
Monthly server support with Unlimited tickets, 24×7 monitoring, Security Audit and lot more for just $59
[sep][/sep][button size=”large” color=”green” title=”Server Management from iServersupport” link=”http://iserversupport.com/cpanel-server-management/”]Server Management at just $59[/button]