Hi all,
I am attempting to connect to a database that is on a remote server.
Sample code:
from pyPgSQL import PgSQL
connection =3D PgSQL.connect( host =3D "my-host", database =3D "db", user =
=3D
"user1", password =3D "")
Error: "user "my_login_name_for_machine" does not exist"
Problem is, this user does not have a password. If I don't include a
password in the connection statement, the error is that a password is
not supplied. Is there anyway that I can still connect without a
password?
Thanks in advance.
|