Closed jcookatlas closed 1 year ago
Please dis-regard... I'm a dummy...
I have special characters in the password and had not encapsulated them properly in quotations in the .env configuration file.
Turns out that non-quotation encapsulated special characters NeVeR EvEr pass through properly...
Sorry for the inconvenience. Please disregard.
Glad you're sorted :)
Debug mode
Describe the bug
When attempting 'basic' install - except using REMOTE mySQL server (installed mysql-client vs. mysql-server) the compose build works and I can get to the pre-flight check page... On Pre-Flight I receive an error stating "SQLSTATE[HY000] [1045] Access denied for user 'snipe_it_user'@'XX.XX.XX.XX' (using password: YES) (SQL: select 2 + 2)'.
From the mysql cli on the snipe-it application server, I can successfully log into the remote mysql server as 'snipe_it_user'@'XX.XX.XX.XX' AND when executing SHOW GRANTS in mysql CLI, the server responds: GRANT ALL PRIVILEGES ON
snipe_it
.* TOsnipe_it_user
@XX.XX.XX.XX
WITH GRANT OPTION (using the same credentials that are in .env).UFW is inactive on BOTH snipe-it application server and mysql server (for testing purposes in an isolated environment)
Pre-Flight Error Message:
mySQL CLI Responce:
Reproduction steps
...
Expected behavior
Should connect to REMOTE (same sub-net) mysql server.
Screenshots
No response
Snipe-IT Version
As GIT cloned 21-OCT-2022
Operating System
Ubunt 20.0.4
Web Server
Apache2
PHP Version
7.4.3
Operating System
Windows 11
Browser
Firefox
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
Additional context
Fresh install