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
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,14 @@
1
1
# dolt-workbench
2
2
3
-
A modern, browser-based, open source SQL workbench for your MySQL-compatible database.
4
-
Use [Dolt](https://doltdb.com) to unlock powerful version control features.
3
+
A modern, browser-based, open source SQL workbench for your MySQL and PostgreSQL
4
+
compatible databases. Use [Dolt](https://doltdb.com) to unlock powerful version control
5
+
features.
5
6
6
7
Get started on [Docker Hub](https://hub.docker.com/r/dolthub/dolt-workbench).
7
8
8
9
## Features
9
10
10
-
Whether you decide to connect this workbench to a MySQL database or Dolt database, the
11
+
Whether you decide to connect this workbench to a MySQL, Dolt, or PostgreSQL database, the
11
12
Dolt Workbench has many features that make it the most modern and user-friendly web-based
12
13
workbench on the market.
13
14
@@ -17,7 +18,7 @@ Why is your SQL workbench stuck in 2003? The Dolt Workbench brings a modern brow
17
18
workbench features you know and love. It makes browsing table data and schemas more
18
19
intuitive and looks good doing it.
19
20
20
-
<imgwidth="1357"alt="Modern, web based table-browser"src="https://github.com/dolthub/dolt-workbench/assets/29443194/8ee94e74-f185-4808-90ee-2551c4636749">
21
+
<imgwidth="1357"alt="Modern, web based table-browser"src="https://www.dolthub.com/blog/static/3f1358cd506d7b8ed383ea0751b67446/4f2ef/table-browser.png">
21
22
22
23
### Auto-generate SQL queries
23
24
@@ -100,8 +101,8 @@ the [Docker image](https://hub.docker.com/r/dolthub/dolt-workbench).
100
101
% docker run -p 9002:9002 -p 3000:3000 dolthub/dolt-workbench:latest
101
102
```
102
103
103
-
Navigate to http://localhost:3000 to enter your database information. See instructions on
104
-
[Docker Hub](https://hub.docker.com/r/dolthub/dolt-workbench) for connecting to local and
104
+
Navigate to http://localhost:3000 to enter your database information. See instructions on
105
+
[Docker Hub](https://hub.docker.com/r/dolthub/dolt-workbench) for connecting to local and
Copy file name to clipboardExpand all lines: docker/README.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# dolt-workbench
2
2
3
-
A modern, browser-based, open source SQL workbench for your MySQL-compatible database. Unlock powerful version control features when you use [Dolt](https://doltdb.com).
3
+
A modern, browser-based, open source SQL workbench for your MySQL and PostgreSQL compatible databases. Unlock powerful version control features when you use [Dolt](https://doltdb.com).
@@ -47,11 +47,11 @@ If your database is already internet accessible (i.e. your database is hosted on
47
47
48
48
## Connecting to a locally installed database
49
49
50
-
If you'd like to connect to a MySQL-compatible server running on your local machine, there are some additional steps to accept connections from other hosts. Docker containers cannot use `localhost` or `127.0.0.1` to access services running on the host machine because they have their own local network. Instead, you can use `host.docker.internal` as the host IP which Docker resolves to the internal IP address used by the host machine.
50
+
If you'd like to connect to a database server running on your local machine, there are some additional steps to accept connections from other hosts. Docker containers cannot use `localhost` or `127.0.0.1` to access services running on the host machine because they have their own local network. Instead, you can use `host.docker.internal` as the host IP which Docker resolves to the internal IP address used by the host machine.
51
51
52
52
### MySQL
53
53
54
-
Set the `bind-address` directive in the MySQL configuration file (`my.cnf` or `my.ini`) to `0.0.0.0`.
54
+
Set the `bind-address` directive in the MySQL configuration file (`my.cnf` or `my.ini`) to `0.0.0.0`. Restart the server.
Use `host.docker.internal` as the host when entering your connection information from the UI.
73
73
74
+
### PostgreSQL
75
+
76
+
Locate your PostgreSQL configuration file (`postgresql.conf`) and change the `listen_addresses` directive from `localhost` to `*`. Restart the server.
77
+
78
+
```
79
+
listen_addresses = '*'
80
+
```
81
+
82
+
Use `host.docker.internal` as the host when entering your connection information from the UI.
83
+
74
84
## Connecting to a Docker installed database
75
85
76
-
You can use Docker container networking to allow containers to connect to and communicate with each other, or to non-Docker workloads. This allows us to run a local MySQL server in the same network as the workbench.
86
+
You can use Docker container networking to allow containers to connect to and communicate with each other, or to non-Docker workloads. This allows us to run a local server in the same network as the workbench.
0 commit comments