Skip to content

Commit 7380310

Browse files
committed
Doc updates for secure_auth
1 parent 815e9d6 commit 7380310

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,11 @@ See https://gist.github.com/1367987 for using MULTI_STATEMENTS with Active Recor
131131

132132
### Secure auth
133133

134-
Starting wih MySQL 5.6.5, secure_auth is enabled by default on servers (it was disabled by default prior to this). This option causes the server to block connections by clients that attempt to use accounts that have passwords stored in the old (pre-4.1) format. It also causes clients to refuse to attempt a connection using the older password format. To bypass this restriction in the client, pass the option :secure_auth => false to Mysql2::Client.new(). If you using ActiveRecord, your database.yml might look something like this:
134+
Starting wih MySQL 5.6.5, secure_auth is enabled by default on servers (it was disabled by default prior to this).
135+
When secure_auth is enabled, the server will refuse a connection if the account password is stored in old pre-MySQL 4.1 format.
136+
The MySQL 5.6.5 client library may also refuse to attempt a connection if provided an older format password.
137+
To bypass this restriction in the client, pass the option :secure_auth => false to Mysql2::Client.new().
138+
If using ActiveRecord, your database.yml might look something like this:
135139

136140
```
137141
development:

0 commit comments

Comments
 (0)