We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77968f2 commit 07084e6Copy full SHA for 07084e6
articles/mariadb/howto-configure-ssl.md
@@ -96,8 +96,20 @@ client = Mysql2::Client.new(
96
:password => 'yourpassword',
97
:database => 'quickstartdb',
98
:sslca => '/var/www/html/BaltimoreCyberTrustRoot.crt.pem'
99
+ :ssl_mode => 'required'
100
)
101
```
102
+#### Ruby on Rails
103
+```ruby
104
+default: &default
105
+ adapter: mysql2
106
+ username: username@mydemoserver
107
+ password: yourpassword
108
+ host: mydemoserver.mariadb.database.azure.com
109
+ sslca: BaltimoreCyberTrustRoot.crt.pem
110
+ sslverify: true
111
+```
112
+
113
### Golang
114
```go
115
rootCertPool := x509.NewCertPool()
0 commit comments