# Trying to setup local on my Mac but getting this error on LMS logs "MySQLdb.ProgrammingError: (1146, "Table 'openedx.waffle\_switch' doesn't exist")"

**URL:** <https://discuss.openedx.org/t/trying-to-setup-local-on-my-mac-but-getting-this-error-on-lms-logs-mysqldb-programmingerror-1146-table-openedx-waffle-switch-doesnt-exist/16114>\
**Category:** Tutor Help\
**Tags:** tutor, lms\
**Created:** [May 28, 2025, 1:49pm UTC](https://discuss.openedx.org/t/trying-to-setup-local-on-my-mac-but-getting-this-error-on-lms-logs-mysqldb-programmingerror-1146-table-openedx-waffle-switch-doesnt-exist/16114 "2025-05-28T13:49:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![crazykazi](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@crazykazi](https://discuss.openedx.org/u/crazykazi)\
**Post date:** [May 28, 2025, 1:49pm UTC](https://discuss.openedx.org/t/trying-to-setup-local-on-my-mac-but-getting-this-error-on-lms-logs-mysqldb-programmingerror-1146-table-openedx-waffle-switch-doesnt-exist/16114/1 "2025-05-28T13:49:15Z")

</div>

Unable to install & launch local installation using Tutor. The containers are running but app wound’t launch. get this error in LMS logs “MySQLdb.ProgrammingError: (1146, “Table ‘openedx.waffle\_switch’ doesn’t exist”)”

---

<div class="post-metadata">

**Author:** ![sarina](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/sarina/32/2308_2.png) [@sarina](https://discuss.openedx.org/u/sarina)\
**Post date:** [May 28, 2025, 2:01pm UTC](https://discuss.openedx.org/t/trying-to-setup-local-on-my-mac-but-getting-this-error-on-lms-logs-mysqldb-programmingerror-1146-table-openedx-waffle-switch-doesnt-exist/16114/2 "2025-05-28T14:01:29Z")

</div>

Hi @crazykazi and welcome!

Could you provide more detail? What version of Tutor are you running? What steps have you followed?

Did you try searching these forums for this issue? I found this post: [Problèmes de Connexion MySQL lors de l'Utilisation de Tutor pour Open edX - #6 by Med\_amine\_Boujelbene](https://discuss.openedx.org/t/problemes-de-connexion-mysql-lors-de-lutilisation-de-tutor-pour-open-edx/13603/6)

---

<div class="post-metadata">

**Author:** ![crazykazi](https://avatars.discourse-cdn.com/v4/letter/c/90db22/32.png) [@crazykazi](https://discuss.openedx.org/u/crazykazi)\
**Post date:** [May 28, 2025, 3:32pm UTC](https://discuss.openedx.org/t/trying-to-setup-local-on-my-mac-but-getting-this-error-on-lms-logs-mysqldb-programmingerror-1146-table-openedx-waffle-switch-doesnt-exist/16114/3 "2025-05-28T15:32:04Z")

</div>

Thanks sarina for the follow quick response.  
I have been able to solve the problem by giving permissions to data folders.
