MySQL Shell Options
The following table lists some mysql
command-line options available
for use with the C Authentication Plugin, mongosql_auth
.
Option | Value | Notes | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
--default-auth | mongosql_auth | Uses the C Authentication plugin. If you are using a MySQL
option file, specify the following configuration to use the
NoteTo use an option file with an
ODBC DSN, add the
| ||||||||
--user | <your-username> | Possible parameters to this option are
NoteIf you use both the
| ||||||||
-p | None, shell will prompt | Required. | ||||||||
--plugin-dir | <your-plugin-dir> | Optional. Use when the
|