You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: