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

charset, ssl_crl_path, ssl_verify_server_cert, ssl_enforce is an invalid keyword argument for connect()

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Major
    • Resolution: Unresolved
    • 1.0.0
    • None
    • Documentation
    • None
    • os : ubuntu LTS focal 20.04
      python : 3.8.2
      mariadb python : mariadb-1.0.0

    Description

      Hello, to reproduce :

      docker run -it --rm --net=host ubuntu:latest bash

      apt update
      apt install -y python3-pip libmariadb-dev-compat
      pip3 install mariadb
        -> Successfully installed mariadb-1.0.0
      python3
          -> Python 3.8.2 (default, Jul 16 2020, 14:00:26)
      >>> import mariadb
      >>> mariadb.connect(charset='foo')
          -> TypeError: 'charset' is an invalid keyword argument for connect()
      >>> mariadb.connect(ssl_crl_path='foo')
          -> TypeError: 'ssl_crl_path' is an invalid keyword argument for connect()
      >>> mariadb.connect(ssl_verify_server_cert='foo')
          -> TypeError: 'ssl_verify_server_cert' is an invalid keyword argument for connect()
      >>> mariadb.connect(ssl_enforce='foo')
          -> TypeError: 'ssl_enforce' is an invalid keyword argument for connect()
      

      Other parameters listed at https://mariadb.com/docs/reference/conpy/api/connect/#conpy-api-connect seams to work.

      Thanks for your help.

      Attachments

        Issue Links

          Activity

            People

              dbart Daniel Bartholomew
              clem-compi Clem R
              Votes:
              1 Vote for this issue
              Watchers:
              4 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.