Skip to content

Commit c1ea8c7

Browse files
authored
Merge pull request #112203 from ajlam/replicainherit
fixes MicrosoftDocs/azure-docs#52970
2 parents ad0d0d1 + 83ba708 commit c1ea8c7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

articles/mariadb/howto-configure-ssl.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: ajlam
55
ms.author: andrela
66
ms.service: mariadb
77
ms.topic: conceptual
8-
ms.date: 3/18/2020
8+
ms.date: 4/21/2020
99
---
1010
# Configure SSL connectivity in your application to securely connect to Azure Database for MariaDB
1111
Azure Database for MariaDB supports connecting your Azure Database for MariaDB server to client applications using Secure Sockets Layer (SSL). Enforcing SSL connections between your database server and your client applications helps protect against "man in the middle" attacks by encrypting the data stream between the server and your application.
@@ -88,6 +88,7 @@ conn = pymysql.connect(user='myadmin@mydemoserver',
8888
host='mydemoserver.mariadb.database.azure.com',
8989
ssl={'ssl': {'ca': '/var/www/html/BaltimoreCyberTrustRoot.crt.pem'}})
9090
```
91+
9192
### Ruby
9293
```ruby
9394
client = Mysql2::Client.new(

articles/mysql/howto-configure-ssl.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: ajlam
55
ms.author: andrela
66
ms.service: mysql
77
ms.topic: conceptual
8-
ms.date: 3/18/2020
8+
ms.date: 4/21/2020
99
---
1010
# Configure SSL connectivity in your application to securely connect to Azure Database for MySQL
1111
Azure Database for MySQL supports connecting your Azure Database for MySQL server to client applications using Secure Sockets Layer (SSL). Enforcing SSL connections between your database server and your client applications helps protect against "man in the middle" attacks by encrypting the data stream between the server and your application.
@@ -98,7 +98,7 @@ conn = pymysql.connect(user='myadmin@mydemoserver',
9898
password='yourpassword',
9999
database='quickstartdb',
100100
host='mydemoserver.mysql.database.azure.com',
101-
ssl={'ssl': {'ssl-ca': '/var/www/html/BaltimoreCyberTrustRoot.crt.pem'}})
101+
ssl={'ssl': {'ca': '/var/www/html/BaltimoreCyberTrustRoot.crt.pem'}})
102102
```
103103

104104
### Django (PyMySQL)
@@ -112,7 +112,7 @@ DATABASES = {
112112
'HOST': 'mydemoserver.mysql.database.azure.com',
113113
'PORT': '3306',
114114
'OPTIONS': {
115-
'ssl': {'ssl-ca': '/var/www/html/BaltimoreCyberTrustRoot.crt.pem'}
115+
'ssl': {'ca': '/var/www/html/BaltimoreCyberTrustRoot.crt.pem'}
116116
}
117117
}
118118
}

0 commit comments

Comments
 (0)