Amazon web services – Unable to connect to postgres database AWS RDS using pgx
I am trying to connect to postgres database in AWS RDS in a Go program using github.com/jackc/pgx/v5 package, but the following error occurs: failed to connect to `host=xxxxx.xxxxxxx.us-east-1.rds.amazonaws.com user=golangpg database=golangpg`: server error (FATAL: database "golangpg" does not exist (SQLSTATE 3D000))…