Description\n-----------\n\nThe feedback plugin is designed to collect and, optionally, upload\\\nconfiguration and usage information to MariaDB.org or to any other configured URL.\n\nSee the MariaDB User Feedback page on MariaDB.org to see collected MariaDB usage statistics.\n\nMariaDB is usually distributed with this plugin included, but it is not enabled by default.\\\nOn Windows, this plugin is part of the server and has a special checkbox in the installer window. Either way, you need to explicitly install and enable it in order for feedback data to be sent.\n\nVerifying the Plugin's Status\n\nTo verify whether the feedback plugin is installed and enabled, execute the SHOW PLUGINS statement or query the information_schema.plugins table:\n\n``sql\nSELECT plugin_status FROM information_schema.plugins \n  WHERE plugin_name = 'feedback';\n+---------------+\n| plugin_status |\n+---------------+\n| DISABLED      |\n+---------------+\n`\n\nIf that SELECT returns no rows, then you still need to install the plugin.\n\nWhen the plugin is installed and enabled, you will see:\n\n`sql\nSELECT plugin_status FROM information_schema.plugins \n  WHERE plugin_name = 'feedback';\n+---------------+\n| plugin_status |\n+---------------+\n| ACTIVE        |\n+---------------+\n`\n\nInstalling the Plugin\n\nIn some releases, the plugin's shared library is distributed with MariaDB by default, but the plugin is not actually installed by MariaDB. There are two methods that can be used to install the plugin with MariaDB.\n\nThe first method can be used to install the plugin without restarting the server. You can install the plugin dynamically by executing INSTALL SONAME or INSTALL PLUGIN:\n\n`\nINSTALL SONAME 'feedback';\n`\n\nThe second method can be used to tell the server to load the plugin when it starts up. The plugin can be installed this way by providing the --plugin-load or the --plugin-load-add options. This can be specified as a command-line argument to mariadbd, or it can be specified in a relevant server option group in an option file:\n\n`ini\n[mariadb]\n...\nplugin_load_add = feedback\n`\n\nUninstalling the Plugin\n\nYou can uninstall the plugin dynamically by executing UNINSTALL SONAME or UNINSTALL PLUGIN:\n\n`sql\nUNINSTALL SONAME 'feedback';\n`\n\nIf you installed the plugin by providing the --plugin-load or the --plugin-load-add options in a relevant server option group in an option file, then those options should be removed to prevent the plugin from being loaded the next time the server is restarted.\n\nEnabling the Plugin\n\nYou can enable the plugin by setting the feedback option to ON in a relevant server option group in an option file:\n\n`ini\n[mariadb]\n...\nfeedback=ON\n`\n\nIn Windows, the plugin can also be enabled during a new MSI installation. The MSI GUI installation provides the "Enable feedback plugin" checkbox to enable the plugin. The MSI command-line installation provides the FEEDBACK=1 command-line option to enable the plugin.\n\nSee the next section for how to verify the plugin is installed and active and (if needed) install the plugin.\n\nCollecting Data\n\nThe feedback plugin collects the following data:\n\n Certain rows from SHOW STATUS and SHOW VARIABLES.\n All installed plugins and their versions.\n System information such as CPU count, memory, architecture, and OS/linux distribution.\n The feedback_server_uid, which is a SHA1 hash of the MAC address of the first network interface and the TCP port that the server listens on.\n\nThe feedback plugin creates the FEEDBACK table in the INFORMATION_SCHEMA database. To see the data that has been collected by the plugin, you can execute:\n\n`sql\nSELECT  FROM information_schema.feedback;\n`\n\nOnly the contents of this table are sent to the feedback_url.\n\nMariaDB stores collation usage statistics. Each collation that has been used by the server\\\nwill have a record in output of SELECT  FROM information_schema.feedback , for example:\n\n`\n+----------------------------------------+---------------------+\n| VARIABLE_NAME                          | VARIABLE_VALUE      |\n+----------------------------------------+---------------------+\n| Collation used utf8_unicode_ci         | 10                  |\n| Collation used latin1_general_ci       | 20                  |\n+----------------------------------------+---------------------+\n`\n\nCollations that have not been used will not be included in the result.\n\nSending Data\n\nThe feedback plugin sends the data using a POST request to any URL or a list of URLs\\\nthat you specify by setting the feedback_url system variable. By default, this is set to the following URL:\n\n https://feedback.mariadb.org/rest/v1/post\n\nBoth HTTP and HTTPS protocols are supported.\n\nIf HTTP traffic requires a proxy in your environment, then you can specify the proxy by setting the feedback_http_proxy system variable.\n\nIf the feedback_url system variable is not set to an empty string, then the\\\nplugin will automatically send a report to all URLs in the list a few minutes after the server starts up and then once a week after that.\n\nIf the feedback_url system variable is set to an empty string, then the\\\nplugin will not automatically send any data. This may be necessary if outbound HTTP communication from your database server is not permitted. In this case, you can still upload the data manually, if you'd like.\n\nFirst, generate the report file with the MariaDB command-line mariadb client:\n\n`bash\n$ mariadb -e 'select  from information_schema.feedback' > report.txt\n`\n\nThen, you can upload the generated report.txt here from the command line with tools such as curl:\n\n`bash\n$ curl -F data=@report.txt https://feedback.mariadb.org/rest/v1/post\n`\n\nManual uploading allows you to be absolutely sure that we receive only the data shown in the INFORMATION_SCHEMA.FEEDBACK table and that no private or sensitive information is being sent.\n\nSystem Variables\n\nfeedback_http_proxy\n\n Description: Proxy server for use when http calls cannot be made, such as in a firewall environment. The format is host:port.\n Command line: --feedback-http=proxy=value\n Read-only: Yes\n Data Type: string\n Default Value: '' (empty)\n\nfeedback_send_retry_wait\n\n Description: Time in seconds before retrying if the plugin failed to send the data for any reason.\n Command line: --feedback-send-retry-wait=#\n Scope: Global\n Dynamic: Yes\n Data Type: numeric\n Default Value: 60\n Valid Values: 1 to 86400\n\nfeedback_send_timeout\n\n Description: An attempt to send the data times out and fails after this many seconds.\n Command line: --feedback-send-timeout=#\n Scope: Global\n Dynamic: Yes\n Data Type: numeric\n Default Value: 60\n Valid Values: 1 to 86400\n\nfeedback_server_uid\n\n Description: Automatically calculated server unique id hash.\n Scope: Global\n Dynamic: No\n Data Type: string\n\nfeedback_url\n\n Description: URL to which the data is sent. More than one URL, separated by spaces, can be specified. Set it to an empty string to disable data sending.\n Command line: --feedback-url=url\n Scope: Global\n Dynamic: No\n Data Type: string\n Default Value: https://feedback.mariadb.org/rest/v1/post\n\nfeedback_user_info\n\n Description: The value of this option is not used by the plugin, but it is included in the feedback data. It can be used to add any user-specified string to the report. This could be used to help to identify it. For example, a support contract number, or a computer name (if you collect reports internally by specifying your own feedback-url).\n Command line: --feedback-user-info=string\n Scope: Global\n Dynamic: No\n Data Type: string\n Default Value: Empty string\n\nOptions\n\nfeedback\n\n Description: Controls how the server should treat the plugin when the server starts up.\n   Valid values are:\n     OFF - Disables the plugin without removing it from the mysql.plugins table.\n     ON - Enables the plugin. If the plugin cannot be initialized, then the server will still continue starting up, but the plugin will be disabled.\n     FORCE - Enables the plugin. If the plugin cannot be initialized, then the server will fail to start with an error.\n     FORCE_PLUS_PERMANENT - Enables the plugin. If the plugin cannot be initialized, then the server will fail to start with an error. In addition, the plugin cannot be uninstalled with UNINSTALL SONAME or UNINSTALL PLUGIN while the server is running.\n   See Plugin Overview: Configuring Plugin Activation at Server Startup for more information.\n Command line: --feedback=value\n Data Type: enumerated\n Default Value: ON\n Valid Values: OFF, ON, FORCE, FORCE_PLUS_PERMANENT`\n\nURL: https://mariadb.com/docs/server/reference/plugins/other-plugins/feedback-plugin