Model connections error #62
quadrastreet
started this conversation in
General
Replies: 1 comment 8 replies
-
I managed to solve this by adding the following to my index.php:
|
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Getting this error when using modelname::all():
I know that it's actually able to connect to the database, as when I have the wrong db user password, etc., I get a connection error.
I feel like I need to trigger some sort of connection, but it looks like Leaf API is already triggering a connection using my .env.
Beta Was this translation helpful? Give feedback.
All reactions