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
root@testserver [/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
root@testserver[/etc]# mv mysqldisable mysqldisable-bak
Then restart mysql will fix your issue.
root@testserver[/etc]# /scripts/mysqlup