Skip to content

Commit

Permalink
Add proper syntax highlighting for .cfg files
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
  • Loading branch information
jlaur committed Oct 21, 2024
1 parent 05048f4 commit e266361
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bundles/org.openhab.persistence.jdbc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ All item- and event-related configuration is done in the file `persistence/jdbc.

To configure this service as the default persistence service for openHAB, add or change the line

```
```ini
org.openhab.core.persistence:default=jdbc
```

Expand All @@ -89,7 +89,7 @@ in the file `services/runtime.cfg`.

services/jdbc.cfg

```
```ini
url=jdbc:postgresql://192.168.0.1:5432/testPostgresql
```

Expand All @@ -102,7 +102,7 @@ To connect to an Oracle Autonomous Database, use the instructions at https://www

Your services/jdbc.cfg should contain the following minimal configuration for connecting to an Oracle Autonomous Database:

```
```ini
url=jdbc:oracle:thin:@dbname?TNS_ADMIN=./dbname_tns_admin_folder
user=openhab
password=openhab_password
Expand Down Expand Up @@ -147,7 +147,7 @@ Here is an example of a configuration for a MySQL database named `testMysql` wit

services/jdbc.cfg

```
```ini
url=jdbc:mysql://192.168.0.1:3306/testMysql
user=test
password=test
Expand Down

0 comments on commit e266361

Please sign in to comment.