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

Wrong ERR_Packet format for 'Too many connections' error

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.5, 10.6, 10.11, 11.4
    • 10.11, 11.4, 11.8
    • None
    • None

    Description

      for all current MariaDB version, 'Too many connections' format differ from expected.

      protocol expect :

      i.e. if protocol capability is CLIENT_PROTOCOL_41 is set, and all client have that since a long time, SQLState must be send.
      problem is that we receive 'Too many connections' error in pre CLIENT_PROTOCOL_41 format.

      example :

             +--------------------------------------------------+
             |  0  1  2  3  4  5  6  7   8  9  a  b  c  d  e  f |
      +------+--------------------------------------------------+------------------+
      |000000| 17 00 00 00 FF 10 04 54  6F 6F 20 6D 61 6E 79 20 | .......Too many  |
      |000010| 63 6F 6E 6E 65 63 74 69  6F 6E 73                | connections      |
      +------+--------------------------------------------------+------------------+
      

      Error code when CLIENT_PROTOCOL_41 is set MUST have the SQLState send.

      Attachments

        Activity

          There are no comments yet on this issue.

          People

            sanja Oleksandr Byelkin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.