Hi. Enjoying these videos. Getting PostgreSQL up and running on Windows was harder then expected. The reason: When you install PSQL you get a user with username postgres and a password you set yourself, but when you open PSQL in the terminal (after manually adding it to PATH mind you), the default behavior is to try and log in with your user as username. The password here is not the password you set, therefore it just gives you wrong password. So the correct way is: enter psql -U postgres in your terminal then you can enter the password you created. Also, the link peterstratton.com/posts-output/2017-01-28-postgres-and-clojure-using-clojure-java-jdbc/ is broken.
Thank you! A very good video for beginners in Clojure!
Thanks for the vid bud, learning clojure now had a few issue when connecting my DB, was kinda annoying lol :D
Hi. Enjoying these videos. Getting PostgreSQL up and running on Windows was harder then expected. The reason: When you install PSQL you get a user with username postgres and a password you set yourself, but when you open PSQL in the terminal (after manually adding it to PATH mind you), the default behavior is to try and log in with your user as username. The password here is not the password you set, therefore it just gives you wrong password. So the correct way is: enter psql -U postgres in your terminal then you can enter the password you created.
Also, the link peterstratton.com/posts-output/2017-01-28-postgres-and-clojure-using-clojure-java-jdbc/ is broken.
This is very helpful, thanks a bunch!