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

mariadb throws a "cursor closed" when inserting using Pandas API

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.7
    • 1.1.8
    • DBAPI 2.0
    • None
    • Machine: MacBook (Intel)
      OS: Ventura 13.5.1
      Python: 3.10.13

      (relevant) python packages:
      mariadb==1.1.7
      pandas==2.1.0
    • 3.10.13

    Description

      I'm running into a similar issue as outlined here, which was supposedly fixed in this ticket, however I'm still running into the problem

      relevant code I'm using:

      with self.engine.connect() as connection:
          dataframe.to_sql(name="table_name", con=connection, if_exists='append', index=False)
      

      Attachments

        Activity

          People

            georg Georg Richter
            marshallm94 Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.