Skip to content

no encryption #408

Description

@B12324

connectDataBase()async{
final conn = await Connection.open(Endpoint(
host: '192.168.0.36',
database: 'postgres',
username: 'postgres',
password: '123456',
),
settings: ConnectionSettings(sslMode: SslMode.disable),
);
print("check database connection ${conn.info}");
}
i am using this code but i have facing this issue
Severity.fatal 28000: no pg_hba.conf entry for host "192.168.0.36", user "postgres", database "postgres", no encryption

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions