Skip to content

Commit 05b1c87

Browse files
docs -- updated dbeaver conn page (#11237)
1 parent b9ddb13 commit 05b1c87

7 files changed

Lines changed: 17 additions & 24 deletions

File tree

docs/assets/sql/dbeaver_1.png

28.5 KB
Loading

docs/assets/sql/dbeaver_2.png

689 KB
Loading

docs/assets/sql/dbeaver_3.png

603 KB
Loading

docs/assets/sql/dbeaver_4.png

709 KB
Loading

docs/assets/sql/dbeaver_5.png

213 KB
Loading

docs/mindsdb_sql/connect/dbeaver.mdx

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@ title: MindsDB and DBeaver
33
sidebarTitle: DBeaver
44
---
55

6-
DBeaver is a database tool that allows you to connect to and work with
7-
various database engines. You can download it [here](https://dbeaver.io/).
6+
DBeaver is a database tool that allows you to connect to and work with various database engines. You can download it [here](https://dbeaver.io/).
87

98
## Data Setup
109

11-
First, create a new database connection in DBeaver by clicking the icon, as
12-
shown below.
10+
First, create a new database connection in DBeaver by clicking the icon, as shown below.
1311

1412
<p align="center">
1513
<img src="/assets/sql/dbeaver_1.png" />
@@ -31,28 +29,23 @@ Now it's time to fill in the connection details.
3129
<img src="/assets/sql/dbeaver_3.png" />
3230
</p>
3331

34-
There are three options, as below.
35-
36-
<Tabs>
37-
<Tab title="Local MindsDB">
38-
You can connect to your local MindsDB. To do that, please use the connection details below:
32+
Use the following parameters:
3933

40-
```
41-
Hostname: `127.0.0.1`
42-
Port: `47334`
43-
Username: `mindsdb`
44-
Password: <leave it empty>
45-
Database: <leave it empty>
46-
```
47-
</Tab>
48-
</Tabs>
34+
* `127.0.0.1` or `localhost` for the host name. If you run MindsDB in cloud, specify the host name accordingly.
35+
36+
* `47335` for the port, which is the port of the MySQL API exposed by MindsDB. Learn more about [available APIs here](/setup/environment-vars#mindsdb-apis).
37+
38+
* `mindsdb` for the database name.
39+
40+
* `mindsdb` for the user name, unless specified differently in the [`config.json` file](/setup/custom-config#auth).
41+
42+
* `<empty>` for the password, unless specified differently in the [`config.json` file](/setup/custom-config#auth).
4943

5044
Now we are ready to test the connection.
5145

5246
## Testing the Connection
5347

54-
Click on the `Test Connection...` button to check if all the provided data
55-
allows you to connect to MindsDB.
48+
Click on the `Test Connection...` button to check if all the provided data allows you to connect to MindsDB.
5649

5750
On success, you should see the message, as below.
5851

@@ -62,8 +55,7 @@ On success, you should see the message, as below.
6255

6356
## Let's Run Some Queries
6457

65-
To finally make sure that our MindsDB database connection works, let's run some
66-
queries.
58+
To finally make sure that our MindsDB database connection works, let's run some queries.
6759

6860
```sql
6961
SHOW FULL DATABASES;

docs/setup/environment-vars.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,19 @@ By default, MindsDB starts the http and mysql APIs. To define which APIs you wan
7474
- `mongodb` (port 47336) - MongoDB API
7575
- `postgres` (port 55432) - PostgreSQL API
7676
- `mcp` (port 47337) - Model Context Protocol API
77+
- `a2a` (port 47338) - Aget2Agent Protocol API
7778

7879
To expose the ports for the APIs, you need to add the respective ports to the command with the `-p` flag.
7980

8081
### Example
8182

8283
<CodeGroup>
8384
```bash Docker
84-
docker run --name mindsdb_container -e MINDSDB_MCP_ACCESS_TOKEN=abc123 -e MINDSDB_APIS=http,mysql,mongodb,postgres,mcp -p 47334:47334 -p 47335:47335 -p 47336:47336 -p 55432:55432 -p 47337:47337 mindsdb/mindsdb
85+
docker run --name mindsdb_container -e MINDSDB_MCP_ACCESS_TOKEN=abc123 -e MINDSDB_APIS=http,mysql,mongodb,postgres,mcp,a2a -p 47334:47334 -p 47335:47335 -p 47336:47336 -p 55432:55432 -p 47337:47337 -p 47338:47338 mindsdb/mindsdb
8586
```
8687

8788
```bash Shell
88-
export MINDSDB_APIS='http,mysql,mongodb,postgres,mcp'
89+
export MINDSDB_APIS='http,mysql,mongodb,postgres,mcp,a2a'
8990
```
9091
</CodeGroup>
9192

0 commit comments

Comments
 (0)