fix: db connection

main
Artem-Darius Weber 8 months ago
parent 8f2bb8087d
commit 68a40b2002

@ -13,7 +13,7 @@ namespace db_lab
{ {
public partial class Form1 : Form public partial class Form1 : Form
{ {
string connectionString = "Server=localhost;Port=5432;UserId=postgres;Password=postgres;Database=SQL_Servers;"; string connectionString = "Server=192.168.1.218;Port=5432;UserId=postgres;Password=postgres;Database=SQL_Servers;";
NpgsqlConnection connection; NpgsqlConnection connection;
public Form1() public Form1()

Binary file not shown.

Binary file not shown.

@ -13,7 +13,7 @@ services:
- postgres:/var/lib/postgresql/data - postgres:/var/lib/postgresql/data
pgadmin: pgadmin:
image: dpage/pgadmin4:4.16 image: dpage/pgadmin4:8.6
environment: environment:
PGADMIN_DEFAULT_EMAIL: admin@pgadmin.com PGADMIN_DEFAULT_EMAIL: admin@pgadmin.com
PGADMIN_DEFAULT_PASSWORD: password PGADMIN_DEFAULT_PASSWORD: password

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save