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

    • Type: Bug
    • Status: Confirmed (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.1
    • Component/s: Documentation
    • Labels:
      None
    • Environment:
      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

          Activity

            People

            Assignee:
            jacob.moorman Jacob Moorman
            Reporter:
            clem-compi Clem R
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration