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

It looks like returning a connection to ConnectionPool does not work properly.

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Critical
    • Resolution: Unresolved
    • 1.0.8
    • None
    • Connection Pooling
    • None
    • Python 3.6.8

    Description

      Hey,

      Like in subject - returning a connection to ConnectionPool does not work properly.
      I see an error:

      Traceback (most recent call last):
      File "/home/db/connector.py", line 33, in <module>
      main()
      File "/home/db/connector.py", line 28, in main
      x = pool.get_connection()
      mariadb.PoolError: No more connections from pool 'testme' available*

      Here is full code:

      code.py

      MariaDB Galera Cluster info:

      'innodb_version', '5.6.39-83.1'
      'protocol_version', '10'
      'slave_type_conversions', ''
      'version', '10.1.36-MariaDB'
      'version_comment', 'MariaDB Server'
      'version_compile_machine', 'x86_64'
      'version_compile_os', 'Linux'
      'version_malloc_library', 'system jemalloc'
      'version_ssl_library', 'OpenSSL 1.0.1e-fips 11 Feb 2013'
      'wsrep_patch_version', 'wsrep_25.23'*

      Can you advise?

      Thanks,
      Mariusz

      Attachments

        Activity

          People

            georg Georg Richter
            Mariushrek Mariusz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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