Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11067

Syntax error in MySQL command line examples

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • None
    • BI Connector
    • None
    • KANBAN BUCKET
    • true

    Description

      The 3 examples shown in this section of the docs (Connect from MySQL with Authentication) use the following format for the user parameter:

      '--user=reportsUser?source=admin'

      It looks like that initial quote is in the wrong place. Instead the parameter should be specified as follows:

      --user='reportsUser?source=admin'

      i.e. the quotes should only wrap the parameter value itself.

      Also, the following section (Connect from MySQL with Authentication and TLS/SSL) specifies the user using a '-u' parameter. For consistency perhaps we should use just one format, either '-u' or '--user', rather than a mixture of the two. (Note: the '-u' parameter does not use an equals '=', while the '--user' variant does. See the MySQL docs for details)

      Attachments

        Activity

          People

            steve.renaker@mongodb.com Steve Renaker (Inactive)
            ronan.bohan@mongodb.com Ronan Bohan
            Steve Renaker Steve Renaker (Inactive)
            Anthony Sansone Anthony Sansone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 31 weeks, 4 days ago