We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9e69fd commit fee906eCopy full SHA for fee906e
packages/server/src/databases/index.ts
@@ -1,5 +1,12 @@
1
import { config } from '@config';
2
const { host, user, name, password } = config.db;
3
+
4
+console.log('Database connection details:');
5
+console.log('Host:', host);
6
+console.log('User:', user);
7
+console.log('Database:', name);
8
+console.log('Password length:', password?.length);
9
10
export const dbConnection = {
11
url: `mongodb://${user}:${encodeURIComponent(password)}@${host}/${name}?authSource=admin&retryWrites=true&w=majority`,
12
// For local development use this url
0 commit comments