-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
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
Labels
No labels