Ask, reply and learn. Join the community of Akaunting.
I’m trying to install Akaunting on my own server, using the Git master branch and MySQL as the database. After entering the credentials for my database (called book) and the admin, I got the following error:
QueryException
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'book.ak_companies' doesn't exist (SQL: insert into `ak_companies` (`domain`, `updated_at`, `created_at`) values (, 2019-02-04 09:38:45, 2019-02-04 09:38:45))
Listing all the tables in the database, I got indeed no `ak_companies` table:
+------------------------+
| Tables_in_book |
+------------------------+
| snz_accounts |
| snz_bill_histories |
| snz_bill_item_taxes |
| snz_bill_items |
| snz_bill_payments |
| snz_bill_statuses |
| snz_bill_totals |
| snz_bills |
| snz_categories |
| snz_companies |
| snz_currencies |
| snz_customers |
| snz_failed_jobs |
| snz_invoice_histories |
| snz_invoice_item_taxes |
| snz_invoice_items |
| snz_invoice_payments |
| snz_invoice_statuses |
| snz_invoice_totals |
| snz_invoices |
| snz_items |
| snz_jobs |
| snz_media |
| snz_mediables |
| snz_migrations |
| snz_module_histories |
| snz_modules |
| snz_notifications |
| snz_password_resets |
| snz_payments |
| snz_permissions |
| snz_reconciliations |
| snz_recurring |
| snz_revenues |
| snz_role_permissions |
| snz_roles |
| snz_sessions |
| snz_settings |
| snz_taxes |
| snz_transfers |
| snz_user_companies |
| snz_user_permissions |
| snz_user_roles |
| snz_users |
| snz_vendors |
+------------------------+
What is the problem here?
I did. The error occured after step 3 of the instructions.
Now I’ve tried the released version instead of installing everything by myself using the master on GitHub. It’s working!
prefixe tables name in .env
Showing 1 to 5 of 5 discussions