<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:01:59 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[DOCS-11067] Syntax error in MySQL command line examples</title>
                <link>https://jira.mongodb.org/browse/DOCS-11067</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;The 3 examples shown in this section of the docs (&lt;a href=&quot;https://docs.mongodb.com/bi-connector/current/connect/mysql/#connect-from-mysql-with-authentication&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Connect from MySQL with Authentication&lt;/a&gt;) use the following format for the user parameter:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&apos;--user=reportsUser?source=admin&apos;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;It looks like that initial quote is in the wrong place. Instead the parameter should be specified as follows:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;--user=&apos;reportsUser?source=admin&apos;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;i.e. the quotes should only wrap the parameter value itself.&lt;/p&gt;

&lt;p&gt;Also, the following section (&lt;a href=&quot;https://docs.mongodb.com/bi-connector/current/connect/mysql/#connect-from-mysql-with-authentication-and-tls-ssl&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Connect from MySQL with Authentication and TLS/SSL&lt;/a&gt;) specifies the user using a &apos;&amp;#45;u&apos; parameter. For consistency perhaps we should use just one format, either &apos;&amp;#45;u&apos; or &apos;&amp;#45;-user&apos;, rather than a mixture of the two. (Note: the &apos;&amp;#45;u&apos; parameter does not use an equals &apos;=&apos;, while the &apos;&amp;#45;-user&apos; variant does. See the &lt;a href=&quot;https://dev.mysql.com/doc/refman/5.5/en/mysql-command-options.html#option_mysql_user&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MySQL docs&lt;/a&gt; for details)&lt;/p&gt;</description>
                <environment></environment>
        <key id="465130">DOCS-11067</key>
            <summary>Syntax error in MySQL command line examples</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="steve.renaker@mongodb.com">Steve Renaker</assignee>
                                    <reporter username="ronan.bohan@mongodb.com">Ronan Bohan</reporter>
                        <labels>
                    </labels>
                <created>Wed, 29 Nov 2017 09:51:33 +0000</created>
                <updated>Sun, 29 Oct 2023 13:58:44 +0000</updated>
                            <resolved>Wed, 20 Dec 2017 19:34:12 +0000</resolved>
                                                                    <component>BI Connector</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1738446" author="steve.renaker" created="Thu, 30 Nov 2017 16:14:10 +0000"  >&lt;p&gt;cc: &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ronan.bohan&quot; class=&quot;user-hover&quot; rel=&quot;ronan.bohan&quot;&gt;ronan.bohan&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hi Ronan,&lt;/p&gt;

&lt;p&gt;Thanks for noticing this. The exact syntax for invoking mysql from the command line is pretty flexible, and almost any placement or absence of quotes will work. On my laptop I&apos;ve used all of the following:&lt;/p&gt;

&lt;p&gt;mysql --user testUser?source=admin --default-auth=mongosql_auth -p&lt;br/&gt;
mysql --user=testUser?source=admin --default-auth=mongosql_auth -p&lt;br/&gt;
mysql --user &apos;testUser?source=admin&apos; --default-auth=mongosql_auth -p&lt;br/&gt;
mysql &apos;--user testUser?source=admin&apos; --default-auth=mongosql_auth -p&lt;br/&gt;
mysql -u testUser?source=admin --default-auth=mongosql_auth -p&lt;/p&gt;

&lt;p&gt;As long as the user is valid and the auth plugin is in the right place, they all work, and I&apos;ve seen the same behavior on various Linux distros. Depending on how the user is set up, you may or may not need the &quot;?source=admin&quot; part. That being said, I agree that putting the quotes around the user string itself looks the best, and it&apos;s better to be consistent about using &quot;--user&quot; or &quot;-u&quot;. I&apos;ll update the docs accordingly.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 30 Nov 2017 16:14:10 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        6 years, 10 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14876" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Docs Reviewer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>tony.sansone@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 10 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ronan.bohan@mongodb.com</customfieldvalue>
            <customfieldvalue>steve.renaker@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htl2nr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htcp1z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1324">KANBAN BUCKET</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htkorj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>