# Base table or view not found: Can't login

**URL:** <https://forum.mautic.org/t/base-table-or-view-not-found-cant-login/6450>\
**Category:** Product Support\
**Created:** [November 5, 2016, 9:58am UTC](https://forum.mautic.org/t/base-table-or-view-not-found-cant-login/6450 "2016-11-05T09:58:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexanderAhlsen](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@AlexanderAhlsen](https://forum.mautic.org/u/AlexanderAhlsen)\
**Post date:** [November 5, 2016, 9:58am UTC](https://forum.mautic.org/t/base-table-or-view-not-found-cant-login/6450/1 "2016-11-05T09:58:06Z")

</div>

Hello!  
  
I’ve been using Mautic for a while but been sick for 2-3 months, and I got back yesterday and tried to use Mautic. I get this error message when I try to log in:  
  
An exception occurred while executing ‘SELECT p0\_.id AS id0, p0\_.bundle AS bundle1, p0\_.name AS name2, p0\_.bitwise AS bitwise3 FROM permissions p0\_ WHERE p0\_.role\_id = ? ORDER BY p0\_.bundle ASC’ with params [1]: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘tomaxalex\_mautic.permissions’ doesn’t exist  
  
I’ve tried to run SSH commands to update, repair DB etc without any luck.  
  
  
  
How can I solve this? Is there a way to get out the emails I had in this installation and import them to a fresh install? I can’t seem to find them in the DB.

---

<div class="post-metadata">

**Author:** ![AlexanderAhlsen](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@AlexanderAhlsen](https://forum.mautic.org/u/AlexanderAhlsen)\
**Post date:** [November 5, 2016, 9:58am UTC](https://forum.mautic.org/t/base-table-or-view-not-found-cant-login/6450/2 "2016-11-05T09:58:06Z")

</div>

Hello!  
I’ve been using Mautic for a while but been sick for 2-3 months, and I got back yesterday and tried to use Mautic. I get this error message when I try to log in:  
An exception occurred while executing ‘SELECT p0\_.id AS id0, p0\_.bundle AS bundle1, p0\_.name AS name2, p0\_.bitwise AS bitwise3 FROM permissions p0\_ WHERE p0\_.role\_id = ? ORDER BY p0\_.bundle ASC’ with params [1]: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘tomaxalex\_mautic.permissions’ doesn’t exist  
I’ve tried to run SSH commands to update, repair DB etc without any luck.

How can I solve this? Is there a way to get out the emails I had in this installation and import them to a fresh install? I can’t seem to find them in the DB.

---

<div class="post-metadata">

**Author:** ![AlexanderAhlsen](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@AlexanderAhlsen](https://forum.mautic.org/u/AlexanderAhlsen)\
**Post date:** [November 6, 2016, 1:06pm UTC](https://forum.mautic.org/t/base-table-or-view-not-found-cant-login/6450/3 "2016-11-06T13:06:07Z")

</div>

Anyone here to help? I lost all my leads!!!
