Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snipe IT Pre-Flight Database Error #11750

Open
2 tasks done
tmorad1 opened this issue Aug 27, 2022 · 3 comments
Open
2 tasks done

Snipe IT Pre-Flight Database Error #11750

tmorad1 opened this issue Aug 27, 2022 · 3 comments

Comments

@tmorad1
Copy link

tmorad1 commented Aug 27, 2022

Debug mode

Describe the bug

Hello I got the issue that snipe it cant connect to my Database. I use Maria DB and thats the error I got on the Pre-Flight page:

"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] Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte. (SQL: select 2 + 2)"

I`m thankfull for everyone who helps.

Reproduction steps

...

Expected behavior

I only want that this program works.

Screenshots

Database Error

Snipe-IT Version

Don`t know

Operating System

Windows Server 2019

Web Server

IIS

PHP Version

7.4

Operating System

Windows

Browser

FireFox

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

@welcome
Copy link

welcome bot commented Aug 27, 2022

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@snipe
Copy link
Owner

snipe commented Aug 30, 2022

The error is telling you that it cannot connect to the database based on the settings you have in your .env. Can you confirm that your host, username and password are correct in your .env?

@Virtute90
Copy link

check this: #11751 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants