You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(mysql): add missing mysql credential options - #11813
These options are present in the MysqlConnectionCredentialsOptions interface, but are missing from the documentation.
The options are placed in a logical order, keeping the basic connection parameters (host, port, username, password, database, socketPath, poolSize) together before the more advanced configuration options.
The socketPath description is very brief. Consider adding more context about when to use this option (e.g., for local connections via Unix socket instead of TCP/IP) and whether it's mutually exclusive with host/port parameters.
The poolSize description mentions 'for each connection' which is confusing since poolSize typically refers to the total number of connections in the pool, not per-connection. Verify this description matches the actual implementation behavior.
-`poolSize` - Maximum number of clients the pool should contain for each connection.
-- `socketPath` - Database socket path.+- `socketPath` - The path to a Unix socket for connecting to the database. When this is provided, `host` and `port` are ignored.
Apply / Chat
Suggestion importance[1-10]: 6
__
Why: The suggestion significantly improves the documentation for socketPath by clarifying its purpose as an alternative to host and port and explaining its precedence, which helps prevent common configuration errors.
Low
Clarify connection pool size description
Clarify the description for poolSize to state it is the maximum number of connections in the pool, removing the confusing phrase "for each connection".
-- `poolSize` - Maximum number of clients the pool should contain for each connection.+- `poolSize` - The maximum number of connections to create in the connection pool.
Apply / Chat
Suggestion importance[1-10]: 5
__
Why: The suggestion correctly identifies that the description for poolSize is confusing and provides a much clearer alternative, improving documentation quality and preventing user misconfiguration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
These options are present in the
MysqlConnectionCredentialsOptionsinterface, but are missing from the documentation.The options are placed in a logical order, keeping the basic connection parameters (host, port, username, password, database, socketPath, poolSize) together before the more advanced configuration options.