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: content/en/docs/howto/integration/use-the-external-database-connector.md
+12-14Lines changed: 12 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,20 +28,18 @@ Let's use External Database Connector in Mendix App, to connect, retreive and i
28
28
29
29
## 2 Prerequisites
30
30
31
-
Let's assume that you already have Mendix app.
32
-
33
-
* Download the [External Database Connector](https://marketplace.mendix.com/link/component/219862) from the Mendix Marketplace into your app.
31
+
Download the [External Database Connector](https://marketplace.mendix.com/link/component/219862) into your app. Make sure you have the following details for your external connection:
34
32
35
33
***Username** and **Password** for signing into the external database
if additional connection properties are required to connect, you can alternatively use **“JDBC Connection String”**.
36
+
If additional connection properties are required to connect, you can alternatively use **JDBC Connection String**.
39
37
40
-
## Steps to follow:
38
+
## 3 Establish a connection
41
39
42
-
### 1. Establish connection between external database and Mendix app
40
+
### 3.1 Establish connection between the external database and Mendix app
43
41
44
-
1. Create new document of type **'External Database document'**(File -> New Document -> External Database Connection or Rightclick on Module -> Add other -> External Database Connection)
42
+
1. Create a new document of type **'External Database document'**(File -> New Document -> External Database Connection or Rightclick on Module -> Add other -> External Database Connection)
45
43
46
44
2. Select Database and add Connection details to connect to Database
47
45
@@ -61,13 +59,13 @@ For example: *Database*_DBsource.
61
59
62
60
Hurray Connection between your external database and Mendix app is established successfully.
63
61
64
-
### 2. Explore Tables and Views of a connected Database:
62
+
### 3.2 Explore Tables and Views of a connected Database:
65
63
66
64
Once connection is successful and saved, you can explore and search **Tables & Views** of external database in External Database Connection document.
1. For DML queries, *Number of affected rows* will be displayed as a Reponse.
103
101
For example:
@@ -109,7 +107,7 @@ For example:
109
107
110
108
**For all DML Queries, changes made to database in Mendix Design phase are automatically rolled back**
111
109
112
-
### 5. Use “Query External Database” activity:
110
+
### 6 Use Query External Database activity:
113
111
114
112
1. Use `Query External Database` activity from toolbox in the microflow.
115
113
@@ -127,4 +125,4 @@ With these steps you are ready to use data from external database in your Mendix
127
125
128
126
{{% alert color="warning" %}}
129
127
It is your responsibility to apply the proper security, as this action can allow for SQL injection into your Mendix application. Among others things, do not use user-supplied or environment-supplied variables in your SQL statement; if possible, you should prefer them to be static.
0 commit comments