Home > CPanel / WHM, MySql > mysql is disabled by sys admin while restarting mysql service

mysql is disabled by sys admin while restarting mysql service

December 15th, 2012 Leave a comment Go to comments

Sometimes it may happen that while restarting mysql service on server you are getting below error.

mysql is disabled by sys admin

Try running below script to bring mysql up again

/scripts/mysqlup

If it’s Up then ok, but sometime it will give below error

Updates for mysql /etc/mysql disabled

If it is not working then go to /etc folder

cd /etc

Run the below command there

[email protected] [/etc]#ls -ld mysql*

It will give below output

-rw-r–r– 1 root root 0 Aug 16 21:19 mysqldisable

Move that file using below command

[email protected][/etc]# mv mysqldisable mysqldisable-bak

Then restart mysql will fix your issue.

[email protected][/etc]# /scripts/mysqlup

 

Categories: CPanel / WHM, MySql Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.