Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no encryption #408

Open
B12324 opened this issue Jan 8, 2025 · 1 comment
Open

no encryption #408

B12324 opened this issue Jan 8, 2025 · 1 comment

Comments

@B12324
Copy link

B12324 commented Jan 8, 2025

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

@isoos
Copy link
Owner

isoos commented Jan 8, 2025

How are you running the server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants