SSD - [DB Connection] Data source not initialized for: postgres_0

Hi Team,

I have been trying to get records from pgAdmin database, but I am getting the following error while hitting swagger url.

I have checked using mysql db also but getting same error for DB connection.

Regards,
Savkar

2 Likes

@Shamnad_KS @ragesh-a @Muhseena_T can you please help?

Hi @Savkar

Thank you for reaching out.
Are you using public schema by default ?
If No, Did you add the correct schema on the schema field.

Please check if you getting any error on your server logs.

Hi @Simphiwe, I’m using my own schema & added to the schema field.

And not getting any error in server logs.

1 Like

Hello @Savkar ,You could try the following approach to resolve the issue:
1.Uninstall and reinstall PostgreSQL to ensure a clean setup.
2. Use the Data Model section in Neutrinos Studio to configure the database connection properly.
3. Perform operations like find and insert using the Data Model operations instead of direct queries.

Let me know if this works.

Thanks

3 Likes

Hi @Sam, I followed the approach that you have suggested, but still getting same error
Data source not initialized for::postgres_1


2 Likes

Hi Savkar,

Could you please make sure that your database credentials are correct? Also, try connecting via CLI using the same credentials to verify the connection.

2 Likes

Connecting via CLI and able to retrieve using same credentials.

2 Likes

Thanks for confirming that the credentials work via CLI.

Would it be possible for us to connect over Teams to troubleshoot this further together?

1 Like

Hi @Shamnad_KS, I have created new project in Neutrinos studio and did same configuration for Postgres DB connection, it’s worked for me now as expected.

Thanks…

3 Likes