anonymouse703's avatar

How to solve sessions table?

Hello guys, I tried to pull a project which is 5.6 version when I try to run it I got this error SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hms-admin.sessions' doesn't exist (SQL: select * from `sessions` where `id` = bdPsfbAWYfgJbqlxNStFODo1y8wEjB1RIGU3yFix limit 1)

I tried to modify the .env and sessions php from file to database but still I got the same error

.env

BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
SESSION_DRIVER=database 
SESSION_LIFETIME=120

session.php

'driver' => env('SESSION_DRIVER', 'database'),
0 likes
1 reply

Please or to participate in this conversation.