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

Client reports ERROR 2006 (MySQL server has gone away) or ERROR 2013 (Lost connection to MySQL server during query) while executing AES* functions under SSL

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0, 10.1
    • Fix Version/s: 10.0.18, 10.1.5
    • Component/s: SSL
    • Labels:
      None

      Description

      MariaDB [(none)]> show status like 'Ssl_cipher';
      +---------------+---------------------------+
      | Variable_name | Value                     |
      +---------------+---------------------------+
      | Ssl_cipher    | DHE-RSA-AES256-GCM-SHA384 |
      +---------------+---------------------------+
      1 row in set (0.01 sec)
       
      MariaDB [(none)]> select aes_decrypt('MySQL','adf');
      +----------------------------+
      | aes_decrypt('MySQL','adf') |
      +----------------------------+
      | NULL                       |
      +----------------------------+
      1 row in set (0.00 sec)
       
      MariaDB [(none)]> select aes_decrypt('MySQL','adf');
      ERROR 2013 (HY000): Lost connection to MySQL server during query

        Attachments

          Activity

            People

            • Assignee:
              serg Sergei Golubchik
              Reporter:
              elenst Elena Stepanova
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: