# Error: SQLSTATE\[42S02\]: Base table or view not found: 1146 Table

**URL:** <https://discourse.cakephp.org/t/error-sqlstate-42s02-base-table-or-view-not-found-1146-table/4386>\
**Category:** Need Help\
**Created:** [June 9, 2018, 6:48am UTC](https://discourse.cakephp.org/t/error-sqlstate-42s02-base-table-or-view-not-found-1146-table/4386 "2018-06-09T06:48:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjeevrouhan](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/sanjeevrouhan/32/1129_2.png) [@sanjeevrouhan](https://discourse.cakephp.org/u/sanjeevrouhan)\
**Post date:** [June 9, 2018, 6:48am UTC](https://discourse.cakephp.org/t/error-sqlstate-42s02-base-table-or-view-not-found-1146-table/4386/1 "2018-06-09T06:48:32Z")

</div>

Hi, am creating a project in cakephp 3.6. and i am trying to save my data to database but having strange problem , it says Error: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘gamesliv.blog\_post\_trackings’ doesn’t exist while i don’t have table or either any associatation for this table in my database.

---

<div class="post-metadata">

**Author:** ![rrd](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/rrd/32/113_2.png) [@rrd](https://discourse.cakephp.org/u/rrd)\
**Post date:** [June 9, 2018, 9:58am UTC](https://discourse.cakephp.org/t/error-sqlstate-42s02-base-table-or-view-not-found-1146-table/4386/2 "2018-06-09T09:58:59Z")

</div>

Why don’t you switch on debugging at trace down where the error occurs? There is a good chance that your code somewhere try to access this table.  
Rearly the case but you can try to empty your tmp folders to see if the error is not coming from a cache.

---

<div class="post-metadata">

**Author:** ![FinlayDaG33k](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/finlaydag33k/32/1049_2.png) [@FinlayDaG33k](https://discourse.cakephp.org/u/FinlayDaG33k)\
**Post date:** [June 10, 2018, 6:39am UTC](https://discourse.cakephp.org/t/error-sqlstate-42s02-base-table-or-view-not-found-1146-table/4386/3 "2018-06-10T06:39:26Z")

</div>

did the table `gamesliv.blog_post_trackings` exist while building the models?  
if so, update the models
