Title: connections.py read_default_group = "client" · Issue #811 · PyMySQL/PyMySQL · GitHub
Open Graph Title: connections.py read_default_group = "client" · Issue #811 · PyMySQL/PyMySQL
X Title: connections.py read_default_group = "client" · Issue #811 · PyMySQL/PyMySQL
Description: The [client] group does not normally include the database name, and including it will prevent mysqldump (and other services) from running. Typically the database is set under the [mysql] group. Without causing much trouble to existing co...
Open Graph Description: The [client] group does not normally include the database name, and including it will prevent mysqldump (and other services) from running. Typically the database is set under the [mysql] group. Wit...
X Description: The [client] group does not normally include the database name, and including it will prevent mysqldump (and other services) from running. Typically the database is set under the [mysql] group. Wit...
Opengraph URL: https://github.com/PyMySQL/PyMySQL/issues/811
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"connections.py read_default_group = \"client\"","articleBody":"The [client] group does not normally include the database name, and including it will prevent mysqldump (and other services) from running.\r\n\r\nTypically the database is set under the [mysql] group.\r\n\r\nWithout causing much trouble to existing code, the read_default_group switch could accept a tuple of groups (eg ('client','mysql'). However, the underlying configparser only allows a single default group. (Py2 ConfigParser doesn't allow one to set a default group, but one can set default values).\r\n\r\nSo, the default group should be 'client' and, following https://dev.mysql.com/doc/refman/8.0/en/option-files.html#option-file-syntax (and the way in which mysql cli works), and unless otherwise specified, the group should be '[pymysql]' (The application name), with the default group being [client].\r\n","author":{"url":"https://github.com/MrBenGriffin","@type":"Person","name":"MrBenGriffin"},"datePublished":"2019-09-12T11:39:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/811/PyMySQL/issues/811"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:793df3a9-7df6-81b3-16ac-0e20af628207 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D90A:47823:860CAE:B986F6:696E61CF |
| html-safe-nonce | 8027d38b2886886f8a33a5d2af8e29ad5ed5f0e951113b66665df81caee86d1b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTBBOjQ3ODIzOjg2MENBRTpCOTg2RjY6Njk2RTYxQ0YiLCJ2aXNpdG9yX2lkIjoiMTI1OTk0MDI5NzQxMTgxMzgzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8958a901fdde0c50637cb279c6779a5f51028eb720203a9a50e07a06e1bf1692 |
| hovercard-subject-tag | issue:492751489 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PyMySQL/PyMySQL/811/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3c4f96f8c4400d141b9d0405de72b9783333d8e4c7a46d6ef849b5c67bc431ea/PyMySQL/PyMySQL/issues/811 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c4f96f8c4400d141b9d0405de72b9783333d8e4c7a46d6ef849b5c67bc431ea/PyMySQL/PyMySQL/issues/811 |
| og:image:alt | The [client] group does not normally include the database name, and including it will prevent mysqldump (and other services) from running. Typically the database is set under the [mysql] group. Wit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MrBenGriffin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 99a4a74f92e7618f6e15b4dbb9f4470c8d31701a90d89c21ff31970528b7f0c3 |
| turbo-cache-control | no-preview |
| go-import | github.com/PyMySQL/PyMySQL git https://github.com/PyMySQL/PyMySQL.git |
| octolytics-dimension-user_id | 5338312 |
| octolytics-dimension-user_login | PyMySQL |
| octolytics-dimension-repository_id | 2114213 |
| octolytics-dimension-repository_nwo | PyMySQL/PyMySQL |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2114213 |
| octolytics-dimension-repository_network_root_nwo | PyMySQL/PyMySQL |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ef0d97829e997c64864f25a29b00067f5dc3a4c4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width