Skip to content

Commit 6b2d98c

Browse files
Update MyXQL ssl docs (#620)
1 parent a20f2d3 commit 6b2d98c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/ecto/adapters/myxql.ex

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ defmodule Ecto.Adapters.MyXQL do
2222
* `:database` - the database to connect to
2323
* `:pool` - The connection pool module, may be set to `Ecto.Adapters.SQL.Sandbox`
2424
* `:ssl` - Set to true if ssl should be used (default: false)
25-
* `:ssl_opts` - A list of ssl options, see Erlang's `ssl` docs
25+
* `:ssl` - Accepts a list of options to enable TLS for the client connection,
26+
or `false` to disable it. See the documentation for [Erlang's `ssl` module](`e:ssl:ssl`)
27+
for a list of options (default: false)
2628
* `:connect_timeout` - The timeout for establishing new connections (default: 5000)
2729
* `:cli_protocol` - The protocol used for the mysql client connection (default: `"tcp"`).
2830
This option is only used for `mix ecto.load` and `mix ecto.dump`,

0 commit comments

Comments
 (0)