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

mysql_plugin "Bad format in plugin configuration file."

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.3.13
    • N/A
    • Plugins

    Description

      from: https://dba.stackexchange.com/questions/226722/how-to-use-mysql-plugin-utility/226737#226737

      $ cat /tmp/unix_socket.ini 
      auth_socket
      build-mariadb-server-10.3]$ client/mysql_plugin --basedir=.  --plugin_dir=/tmp unix_socket ENABLE
      ERROR: Cannot read plugin config file unix_socket. Bad format in plugin configuration file.
      

      ./client/mysql_plugin.c:load_plugin_data doesn't have a sane loop termination for end of file.

      Attachments

        Activity

          danblack,
          Why is it a bug? It is bad format.
          As documented,

          The first line should contain the name of the library object file, with no extension. The other lines list the names of the components. Each value should be on a separate line, and the # character at the start of the line indicates a comment.

          Your file only contains the name of the library, no component names, hence the error.

          elenst Elena Stepanova added a comment - danblack , Why is it a bug? It is bad format. As documented , The first line should contain the name of the library object file, with no extension. The other lines list the names of the components. Each value should be on a separate line, and the # character at the start of the line indicates a comment. Your file only contains the name of the library, no component names, hence the error.
          danblack Daniel Black added a comment -

          Quite right, sorry. Not a bug.

          danblack Daniel Black added a comment - Quite right, sorry. Not a bug.

          People

            Unassigned Unassigned
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.