From 68a40b20020c8723bdaff026a965384de0bf6305 Mon Sep 17 00:00:00 2001 From: Artem Darius Weber Date: Mon, 13 May 2024 14:31:03 +0300 Subject: [PATCH] fix: db connection --- db_lab/Form1.cs | 2 +- db_lab/bin/Debug/db_lab.exe | Bin 11264 -> 11264 bytes db_lab/bin/Debug/db_lab.pdb | Bin 50688 -> 50688 bytes db_lab/docker-compose.yaml | 2 +- .../db_lab.csproj.GenerateResource.cache | Bin 126 -> 126 bytes db_lab/obj/Debug/db_lab.exe | Bin 11264 -> 11264 bytes db_lab/obj/Debug/db_lab.pdb | Bin 50688 -> 50688 bytes 7 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db_lab/Form1.cs b/db_lab/Form1.cs index 0cc8089..ff5e4f8 100644 --- a/db_lab/Form1.cs +++ b/db_lab/Form1.cs @@ -13,7 +13,7 @@ namespace db_lab { 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; public Form1() diff --git a/db_lab/bin/Debug/db_lab.exe b/db_lab/bin/Debug/db_lab.exe index c3a8d3c25eebc25016b56a995fce15f56ddf7227..482eed0510f655234844f79e5d3ebb65016c6fbe 100644 GIT binary patch delta 3586 zcmbtXdvH`&9sbU}d+*(B!e$f5=CLH%kZiIEkg|oQS&*1CsTc!DNy4jtAWa~o2DjZs ztd_W>84L1gi5DLQO$8q`Iyhj)X&uY-=~%7I$P5<28Ky18j%`P4Mbu6Ue&^gxb`$u| zo4MaT-*?XM{J!(J=Wceb+qLfC9{r=z{*is9;+>JPwc^{h5H*Io1!%NSRnD{5iyHC1 zJtUG9uTqoOr+I5IFs~LE@B=!T4=}%DS7;wMz6d;!Gy6ao5Fvm3BH6J}p?NG+6u+v< z#n!P7plH%$CK6Wj`?v(*rH+Jd{)z zV`^$n{alu{hh?7FJS3;?pEZy8fmVPtkKy1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g%!yE7sZEguvoN_mj4>1AT1BF=X zv4X19de%4yV7dPQ*`S{X0XzLe(2c5JG9-a9It{R?Ljd#J&+O)9uEwrhZ5&WzF*%&P%jQSvq>0(^v{{m$L#aiti-J zcVKTwf+(t?7+5fPs!QW2z!_H`L3QB`7(-j63np+R;vhR8;o&a6j*P+*cD6{6#nqM* zl(RSLCH8D|h;WE`joE^{cwh!p-DYf$Ex;z)S}V!=TA#wEVr;v=ou(*@^EB;ZT!195 z#|7hno-v-3GxT(rjgu7B{E29t9!a1AZDcLjD+!!~n$+M0i6^OPLdWnWp%aAGgP%L1*xK^8cb_;U2fX6%u-Y4iqVP`+4g(i`%P7^4^lzd+`o6aISn8$G4} ljpkGzXW228yOjSSr?Z*M@6*=ru8O-SZT;VQjXDIFn; za53ya6jan>525p_1SUNcAwdr|e9?MKMayJK5VMEQ9(wAvhkpEihjTvXaDLz4pLnt$ zo-CN~8mcy?pV@Np7uzT7VpHzJ`bcQ8e1A_myz?ab8+vi;B~x26gU&^?>4S z_y{nFR(mB3DvkD9fH53!NbnM~ju0hU#3+$zahOQm$t_q$t5bqieB|_z46w9PnT~xYF4OA5G2bvGmD1)p6(>^Ktz^!$aw@$B585k0uQaxi zd3JW9MtwRvTy1H3*Z{h8Wr42WAq(6p(K2+&M(maMs&+I=LcVF%?GVimiXrh0ChP6+*ULZdE%|RW jPYiM8g|Q>=@;~JH?5`dUHr!8FYIEk+g{z8b=5z6H7SS&q diff --git a/db_lab/docker-compose.yaml b/db_lab/docker-compose.yaml index f84be54..0ee2e4a 100644 --- a/db_lab/docker-compose.yaml +++ b/db_lab/docker-compose.yaml @@ -13,7 +13,7 @@ services: - postgres:/var/lib/postgresql/data pgadmin: - image: dpage/pgadmin4:4.16 + image: dpage/pgadmin4:8.6 environment: PGADMIN_DEFAULT_EMAIL: admin@pgadmin.com PGADMIN_DEFAULT_PASSWORD: password diff --git a/db_lab/obj/Debug/db_lab.csproj.GenerateResource.cache b/db_lab/obj/Debug/db_lab.csproj.GenerateResource.cache index f407cb6fb86542f57a1e89726b89c603cf67a310..beb4253dd388d595156abbc8fc94644f461ac6b0 100644 GIT binary patch delta 20 Zcmb=cn~={xB|-aLVDTLeMn(n@002<>1;PLT delta 20 Zcmb=cn~={x>D9lJfyH+?7#SHr003cQ2KWE~ diff --git a/db_lab/obj/Debug/db_lab.exe b/db_lab/obj/Debug/db_lab.exe index c3a8d3c25eebc25016b56a995fce15f56ddf7227..482eed0510f655234844f79e5d3ebb65016c6fbe 100644 GIT binary patch delta 3586 zcmbtXdvH`&9sbU}d+*(B!e$f5=CLH%kZiIEkg|oQS&*1CsTc!DNy4jtAWa~o2DjZs ztd_W>84L1gi5DLQO$8q`Iyhj)X&uY-=~%7I$P5<28Ky18j%`P4Mbu6Ue&^gxb`$u| zo4MaT-*?XM{J!(J=Wceb+qLfC9{r=z{*is9;+>JPwc^{h5H*Io1!%NSRnD{5iyHC1 zJtUG9uTqoOr+I5IFs~LE@B=!T4=}%DS7;wMz6d;!Gy6ao5Fvm3BH6J}p?NG+6u+v< z#n!P7plH%$CK6Wj`?v(*rH+Jd{)z zV`^$n{alu{hh?7FJS3;?pEZy8fmVPtkKy1F8o0KuXKT%H>yDcrn z-{Dlo7TAMENivd_{ju8}A_q}iJS9v@@f=NtrQ4Kulouw7$z!QrWUDE?#LHwzARST| zTbL%=bu-DKnu$fSk2{~cYZKjL1RYCy{It_%ZGxM}!OESfN&LbhfYkiz8fC7}T;IeqwY>4Vp9G9cynjtm1* zC?A+M|57ZTFrY&AWEhabqyb6f{By~s&VbxaL7z5#2BaMSeue=l+%yAHESWH%LQZBF zkiw(^Nwn)LO}<=H4ai+S`D#hxk2N@3Lz3WDG2NP!@KXCq)^KiJx>dCnZnD4R zsVZou_6P1|E&NF~k2Mn#E%r&zYVTb#yl#zrJI!#b?aN-Yw2KWZzse!;xrqC(vU7X9 z{|kKy?loM^1s>9=b$4Q5Cgeem%4OZ{ZG7$|=h2_NM6}wcvqQDQ23F;R}{XXFre^#(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