Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-370

Accept a connection URI in `create_pool()` and `create_async_pool()`, with pool options readable from the URI query string.

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-rc3
    • Other
    • None

    Description

      create_pool() and create_async_pool() must accept a connection URI as first
      positional argument, as connect() and asyncConnect() already do. Pool
      options may also be given in the URI query string:

          mariadb.create_pool("mariadb://root:secret@localhost/test?min_size=5&max_size=20")
      
      

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.