-
Notifications
You must be signed in to change notification settings - Fork 34
DOCSP-50185: Connection troubleshooting #272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DOCSP-50185: Connection troubleshooting #272
Conversation
✅ Deploy Preview for docs-php-library ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few small things but LGTM overall!
port is ``27017``. The default port value for an instance of MongoDB Server is | ||
``27017``, but you can configure MongoDB to listen on another port. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
port is ``27017``. The default port value for an instance of MongoDB Server is | |
``27017``, but you can configure MongoDB to listen on another port. | |
port is ``27017``. The default port value for a {+mdb-server+} deployment is | |
``27017``, but you can configure MongoDB to listen on another port. |
The {+driver-short+} may be unable connect to a MongoDB deployment if | ||
the authorization is not configured correctly. In these cases, the library |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The {+driver-short+} may be unable connect to a MongoDB deployment if | |
the authorization is not configured correctly. In these cases, the library | |
The {+driver-short+} may fail to connect to a MongoDB deployment if | |
the authorization is not configured correctly. In these cases, the library |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll keep as "unable" for style guide reasons
|
||
The following sections describe methods that might help resolve the issue. | ||
|
||
Check the Connection String |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thoughts about changing all occurrences of "connection string" to "connection URI"? Seems to be the wording we've been trending towards across our docs.
If your username or password includes any of the following characters, you | ||
must `percent-encode <https://tools.ietf.org/html/rfc3986#section-2.1>`__ it: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If your username or password includes any of the following characters, you | |
must `percent-encode <https://tools.ietf.org/html/rfc3986#section-2.1>`__ it: | |
You | |
must `percent-encode <https://tools.ietf.org/html/rfc3986#section-2.1>`__ the following characters if they appear in your username or password: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a question.
LGTM.
@@ -34,7 +34,7 @@ Set Connection Options | |||
You can configure your connection by specifying options in the connection URI or by | |||
passing them to the ``MongoDB\Client`` constructor. | |||
|
|||
.. _php-connection-uri: | |||
.. _php-connection-options-uri: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why should this be changed? The previous slug matched the title better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a duplicate label - there's another php-connection-uri for this section of the Create a Client page, and it seemed like more of a general overview of URIs
Pull Request Info
PR Reviewing Guidelines
JIRA - https://jira.mongodb.org/browse/DOCSP-50185
This PR uses the copy from the shared Connection Troubleshooting page but removes information about connection pooling, which the PHP library does not support.
Staging Links
Self-Review Checklist