I'm using Laravel 5.2 on a Scotchbox server.
Everything with the DB works as it should, but only for one call, or only a few seconds.
I can consult the "phpmyadmin" page, but also only once or twice. After a few second even this page gives me a 404 error.
I have to restart my scotchbox everytime to do something with the DB.
Laravel doesn't say it can't connect to the DB but says it can't find the table I defined in it:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'scotchbox.users' doesn't exist (SQL: select * from
users
whereusers
.userId
= 4 limit 1)
And when I want to connect to phpmyadmin again after it got stuck Laravel says:
NotFoundHttpException in RouteCollection.php line 161:
What did I do wrong?