# Base table or view not found: 1146 Table 'mautic\_db.campaigns' doesn't exist

**URL:** <https://forum.mautic.org/t/base-table-or-view-not-found-1146-table-mautic-db-campaigns-doesnt-exist/34223>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [November 25, 2024, 11:44am UTC](https://forum.mautic.org/t/base-table-or-view-not-found-1146-table-mautic-db-campaigns-doesnt-exist/34223 "2024-11-25T11:44:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![puslefot](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/puslefot/32/4115_2.png) [@puslefot](https://forum.mautic.org/u/puslefot)\
**Post date:** [November 25, 2024, 11:44am UTC](https://forum.mautic.org/t/base-table-or-view-not-found-1146-table-mautic-db-campaigns-doesnt-exist/34223/1 "2024-11-25T11:44:48Z")

</div>

**Your software**  
My Mautic version is: 5  
My PHP version is: The one used in docker image mautic/mautic:5-apache  
My Database type and version is: mysql 8

**Your problem**  
My problem is that ‘mautic\_db.campaigns’ does not exist after running ‘docker compose up’.

I cloned the repo ([GitHub - mautic/docker-mautic: Docker Image for Mautic](https://github.com/mautic/docker-mautic)) and edited the .env file inside examples-\>basic so ‘DOCKER\_MAUTIC\_LOAD\_TEST\_DATA=true’. If that value is set to false everything works fine.

These errors are showing in the log:  
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘mautic\_db.campaigns’ doesn’t exist

mautic\_web-1 | 127.0.0.1 - - [25/Nov/2024:11:40:50 +0000] “GET / HTTP/1.1” 500 1565 “-” “curl/7.88.1”

Steps I have tried to fix the problem:  
Not loading test data “solves” the issue.
