# Service mysql stopped is not working

**URL:** <https://forum.ansible.com/t/service-mysql-stopped-is-not-working/18426>\
**Category:** Ansible Project\
**Created:** [June 8, 2015, 7:22am UTC](https://forum.ansible.com/t/service-mysql-stopped-is-not-working/18426 "2015-06-08T07:22:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc\_cyprien](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@marc\_cyprien](https://forum.ansible.com/u/marc_cyprien)\
**Post date:** [June 8, 2015, 7:22am UTC](https://forum.ansible.com/t/service-mysql-stopped-is-not-working/18426/1 "2015-06-08T07:22:51Z")

</div>

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

```

```

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [June 8, 2015, 3:16pm UTC](https://forum.ansible.com/t/service-mysql-stopped-is-not-working/18426/2 "2015-06-08T15:16:53Z")

</div>

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.
