Pre flight check up states "database says No such file or directory" #16080
Unanswered
particle28
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Good day!
I have installed snipe-it yesterday following the instructions in the docs. Everything went well except when I have reached the pre-flight check up. It stated:
D'oh! Looks like we can't connect to your database. Please update your database settings in your .env file. Your database says: SQLSTATE[HY000] [2002] No such file or directory (Connection: mysql, SQL: select 2 + 2)
I checked and double checked the docker-compose.yml and .env.docker files. They seem to match.
Snipe-IT version: v7.1.15
OS: Windows 10 Pro
Server: Running locally on Docker
.env.docker file:
docker-compose.yml file:
a screencap of docker desktop:
Any idea or help is welcome. Thank you very much
Beta Was this translation helpful? Give feedback.
All reactions