I cannot get my program to connect to the database, and I’m not sure how to go about troubleshooting. The Hint provided, and online resources have been unable to help.
Here is a snapshot of my workspace: Dashboard
Yes there is a .env file, it should be in my snapshot, but I’m not entirely sure how they work. There is another forum post on this specific step and it is in line with everything I currently have, so I’m not sure where the problem lies.
I am aware of that, there is a .env file, it should be in my snapshot, but I’m not entirely sure how they work. There is another forum post on this specific step and it is in line with everything I currently have, so I’m not sure where the problem lies.
I assume you are the one that replaced the password in the connection string? Which is the correct thing to do when sharing the workspace, I’m just checking to make sure it isn’t actually what you are using.
Anyway, if I replace your connection string with my own, your code from the workspace you shared passes the test for me.
If I’m understanding you correctly, yes I am.
If your connection string works, does that mean I have set the database up incorrectly?
And if so, how would I fix it?
I did follow that tutorial, and I believe I have whitelisted all IP’s. 0.0.0.0/0 is in the access list.
I tried using the connection string you gave me, updated with my name and password, but the second test is still failing.
Yes I’m using Gitpod, just connecting it to my desktop VSCode instead of using the browser version and the gitpod workspace is running.
I did add the logging message but nothing is appearing in the console.