Service mysql stopped is not working

context
I am trying to install mysql for openstack but I got a problem with mysql. Here are my tasks:


            

check your mysql data directory in the config, it is either pointing
at an invalid directory or the directory it is pointing at does not
have appropriate permissions for the user that runs mysql.