Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-12782

Malformed packet / LOAD DATA LOCAL / mysql_real_connect

    XMLWordPrintable

Details

    Description

      Running with libmysql.dll from packaged 10.1.22.0 win32 distribution.

      Using mysql_real_connect twice (example code did this after credentials failure) - documentation does not specify any use conditions around this. All OK until performing LOAD DATA LOCAL INFILE, when the error Malformed Packet is given.

      Workaround (or intended use?) is to call mysql_close and mysql_init between calls to mysql_real_connect.

      Attachments

        1. RealConnect.dpr
          3 kB
        2. output.txt
          0.4 kB
        3. LoadData.txt
          0.1 kB

        Activity

          People

            Unassigned Unassigned
            sbelcher Stuart Belcher
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.