Skip to content

no encryption #408

@B12324

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

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