You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to set up the necessary tables to manage users, sessions, or settings (hm_user, hm_user_session, hm_user_settings) by running the script php ./scripts/setup_database.php, the system is using the default config values and not loading values from the .env file.
The error received is (Unable to connect to database) after multiple attempts.
Steps to reproduce
Create an empty database
setup the necessary variables in your .env file
(DB_DRIVER, DB_HOST, DB_NAME, DB_USER, DB_PASS, AUTH_TYPE=DB or SESSION_TYPE=DB)
Try to generate the related tables by running php ./scripts/setup_database.php
You will get the error described above
The text was updated successfully, but these errors were encountered:
🐛 Bugreport
When trying to set up the necessary tables to manage users, sessions, or settings (hm_user, hm_user_session, hm_user_settings) by running the script
php ./scripts/setup_database.php
, the system is using the default config values and not loading values from the.env
file.The error received is (Unable to connect to database) after multiple attempts.
Steps to reproduce
.env
file(DB_DRIVER, DB_HOST, DB_NAME, DB_USER, DB_PASS, AUTH_TYPE=DB or SESSION_TYPE=DB)
php ./scripts/setup_database.php
The text was updated successfully, but these errors were encountered: