Skip to content

Commit 433d6da

Browse files
authored
Add SkySQL r2dbc connection string example
1 parent 549f7ac commit 433d6da

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

reactive-service/src/main/resources/application.properties

+7-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,10 @@ spring.r2dbc.url=r2dbc:mariadb://localhost:3306/wordle
55
spring.r2dbc.username=user
66
spring.r2dbc.password=password
77
spring.r2dbc.pool.max-size=10
8-
spring.r2dbc.pool.max-create-connection-time=10s
8+
spring.r2dbc.pool.max-create-connection-time=10s
9+
10+
# If you are using MariaDB SkySQL (https://mariadb.com/products/skysql),
11+
# enable SSL and specify the path to the CA chain file that you can download
12+
# from the SkySQL Portal (https://cloud.mariadb.com):
13+
#
14+
# spring.r2dbc.url=r2dbc:mariadb://demo-db0000xxxx.mdb000xxxx.db.skysql.net:5047/reactive-demo?sslMode=VERIFY_CA&serverSslCert=/path/to/skysql_chain.pem

0 commit comments

Comments
 (0)