-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Incorrect Database Connection String in .env File #8741
Comments
Good point, it's because docker's default is postgres:twenty (we use the Postgres super user), but the local setup (brew, wsl, etc.) defaults to using postgres:postgres ; we should probably just use postgres:postgres everywhere remove drop the instrusctions in the doc to create a twenty user (since it's a local setup anyway) |
Well can i edit the documentation then? |
@Lucifer4255 go ahead, I'll review it |
Fix for the issue Incorrect Database Connection String in .env File #8741 --------- Co-authored-by: Félix Malfait <[email protected]>
closed in #8801 |
The default database connection string provided in the .env file for the twenty repository appears to be incorrect. Specifically, the connection string causes authentication failures when attempting to connect to PostgreSQL.
Steps to Reproduce:
Clone the repository and set up the environment using the provided .env file.
Run the application or attempt a database connection.
Observe authentication failure due to an incorrect connection string format or credentials.
Expected Behavior:
The application should connect successfully to the PostgreSQL database using the provided .env configuration.
Suggested Fix:
Verify and update the default connection string in the .env file to ensure it follows the correct format:
postgres://<username>:<password>@<host>:<port>/<database>
if possible i can work in this issue
The text was updated successfully, but these errors were encountered: