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: src/connections/storage/catalog/db2/index.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,42 +15,43 @@ Warehouse and Segment.
15
15
16
16
## Getting Started
17
17
18
-
To get started, you'll need to [create a Db2 user for Segment](#create-a-user-for-segment), [give that user sufficient permissions](#give-the-segment-user-permissions), and then [create the Segment Db2 Destination](#create-segment-db2-destination).
18
+
To get started, you'll need to [create a Db2 user for Segment](#create-a-user-for-segment), [grant that user sufficient permissions](#grant-the-segment-user-permissions), and then [create the the IBM Db2 Destination in the Segment app](#create-segment-db2-destination).
19
19
20
20
### Create a User for Segment
21
21
22
-
In order to connect your IBM Db2 warehouse to Segment, you need to create a user account that Segment can assume. To create a user account for Segment:
22
+
In order to connect your IBM Db2 warehouse to Segment, you need to create a Db2 user account that Segment can assume. To create a user account for Segment:
23
23
24
24
1. Open the Db2 warehouse. Click the top-left menu, select **Administration**, and open the **User management** tab.
25
25
26
26
2. Click **Add**.
27
27
28
-
3. Create a new user account with "User" priveledges. Save the username and password, as these are required to set up the Segment configuration in a later step.
28
+
3. Create a new user account with "User" privileges. Save the username and password, as these are required to set up the Segment configuration in a later step.
29
29
30
-
### Give the Segment User Permissions
30
+
### Grant the Segment User Permissions
31
+
32
+
To grant the Segment user access to your database:
31
33
32
-
Now that you created an IBM Db2 user for Segment, you must grant the Segment user permission to connect to your database. To grant the Segment user access to your database:
33
34
1. Open the top-left menu and select **Run SQL**.
34
-
2. In the SQL input, copy the following code snippet, replacing "segment_user" with the user ID that you created above:
35
+
2. In the SQL input, copy the following code snippet, replacing "segment_user" with the user ID that you created above.
35
36
```json
36
37
GRANT CONNECT, CREATETAB, IMPLICIT_SCHEMA ON DATABASE TO USER <segment_user>
37
38
```
38
-
3.Select Run All to execute the `GRANT` command.
39
+
3.Click **Run All** to execute the `GRANT` command.
39
40
40
41
### Create Segment Db2 Destination
41
42
42
43
To set up an IBM Db2 destination in the Segment app:
43
44
44
45
1. Open the Segment app. Select **Connections** and click **Add Destination**.
45
-
2. Search for and select IBM Db2 Warehouse.
46
+
2. Search for and select **IBM Db2 Warehouse**.
46
47
3. Select the sources you want to connect to the IBM Db2 warehouse, and click **Next**.
47
48
4. Enter a name for your destination, and enter the following credentials:
48
49
- Host (Found in your Db2 instance, under Administration → Connections)
49
50
- Port (50001 is the default for Db2)
50
51
- Database name (Found in your Db2 instance, under Administration → Connections)
51
52
- User (This is the "User ID" that you created above)
52
53
- Password (This is the "Password" that you created above)
53
-
- Security (Enter "SSL" in this field)
54
+
- Security ([Enter "SSL" in this field](#ssltls))
54
55
5. Click **Connect** to connect your Db2 warehouse to Segment.
0 commit comments