Skip to content

Commit 96c0f69

Browse files
authored
explain setup of pgadmin (#1)
* explain setup of pgadmin Signed-off-by: Alexander Diemand <codieplusplus@apax.net> * corr Signed-off-by: Alexander Diemand <codieplusplus@apax.net> --------- Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
1 parent e7451ba commit 96c0f69

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

docs/00_main.md

+2
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ e.g. FreeBSD
7777

7878
### Running queries in _pgAdmin_
7979

80+
[setup pgAdmin](11_setup_pgadmin.md)
81+
8082
[using pgAdmin](10_use_pgadmin.md)
8183

8284
### Sending queries directly to PostgreSQL

docs/11_setup_pgadmin.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Cardano Queries setup pgAdmin
3+
categories: usage
4+
tags: usage pgadmin
5+
---
6+
7+
[bach to main](00_main.md)
8+
9+
10+
# Setup _pgAdmin_
11+
12+
[pgAdmin](http://localhost:5480) is available locally at http://localhost:5480
13+
14+
After logging into _pgAdmin_, first create a connection to the database:
15+
16+
1. in the first tab give the server connect a name
17+
18+
2. in the second tab indicate how _pgAdmin_ connects to the database server
19+
20+
2.1 Host name = **localhost**
21+
22+
2.2 Port = **35432**
23+
24+
2.3 Maintenance database = **mainnet**
25+
26+
2.4 Username = <your db username>
27+
28+
2.5 Password = <your db password>
29+
30+
2.6 Save password? = yes, tick this one
31+
32+
Then, "save" these settings and the connection is ready. If you encounter errors, then most probably a wrong password was entered or the username does not match.
33+
34+
![Querying the database in pgAdmin](images/pgadmin_setup.png)

docs/images/pgadmin_setup.png

127 KB
Loading

0 commit comments

Comments
 (0)