Skip to content

Commit e5cc500

Browse files
authored
Update README.md
1 parent febdd50 commit e5cc500

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ dependencies {
9898
---
9999

100100
## 📖 Code examples
101-
First, you have to create a ConnectionData, either for a mongo or mysql connection.
101+
First, you have to create a `ConnectionData`, either for a mongo or mysql connection.
102102
You need to provide a host, username, password, database-name and port (mostly 3306 for mysql and 27017 for mongodb)
103103
```java
104104
ConnectionData connectionData = new ConnectionData("127.0.0.1", "username", "password", "database", 3306);
@@ -108,7 +108,7 @@ ConnectionData connectionData = new ConnectionData("127.0.0.1", "username", "pas
108108
> 🤖 The connection to mysql-databases should work properly.
109109
> If there are any errors, it would be a great help to report them.
110110
111-
Properties must be created next, which are then passed on during the connection:
111+
Moreover, you have to create some properties, which are then passed on during the connection:
112112
```java
113113
MySQLConnectionConfig mySQLConnectionConfig = new MySQLConnectionConfig(connectionData);
114114
mySQLConnectionConfig.applyDefaultHikariConfig() // recommended setting for HikariCP
@@ -139,7 +139,7 @@ mySQLDatabaseConnection.disconnect();
139139
> 🤖 The connection to mongo-databases was not testet yet.
140140
> If you have tried it, I would be very grateful if you would contact me.
141141
142-
Properties must be created next, which are then passed on during the connection:
142+
Moreover, you have to create some properties, which are then passed on during the connection:
143143
```java
144144
MongoConnectionConfig mongoConnectionConfig = new MongoConnectionConfig(connectionData);
145145
mongoConnectionConfig.applyDefaultMongoClientSettings(); // applies default properties like the uri

0 commit comments

Comments
 (0)