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

make max_user_connections truly dynamic (as in MySQL)

    XMLWordPrintable

Details

    Description

      The attached statement runs fine on MySQL, but not on MariaDB per this commit in 2011: https://github.com/MariaDB/server/commit/7800d93bc3caca0143334941f626dc6aa3ff2b26

      MariaDB [(none)]> SET GLOBAL max_user_connections = 100;
      ERROR 1290 (HY000): The MariaDB server is running with the --max-user-connections=0 option so it cannot execute this statement

      The process doesn't have such an option as shown by ps:

      mysql    17199  102 53.0 28224164 16560828 ?   Sl   May07 28884:15 /usr/sbin/mysqld --basedir=/usr --datadir=/opt/data --plugin-dir=/usr/lib/mysql/plugin --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306

      MariaDB [(none)]> SELECT @@version;
      +------------------------------+
      | @@version                    |
      +------------------------------+
      | 10.0.14-MariaDB-1~wheezy-log |
      +------------------------------+

      Attachments

        Activity

          People

            Unassigned Unassigned
            MartinAmps Martin Amps
            Votes:
            0 Vote for this issue
            Watchers:
            5 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.