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

mariadb-setpermission: Can't use string as an ARRAY ref while "strict refs" in use

    XMLWordPrintable

Details

    Description

      Running mariadb-setpermission and attempting to change a user's password, I get the following:

      Make your choice [1,2,3,4,5,6,7,0]: 1
       
       
      Setting a (new) password for a user.
       
      For which user do you want to specify a password: foo2
      Username = foo2
      Would you like to set a password for foo2 [y/n]: y
      What password do you want to specify for foo2: 
      Type the password again: 
      We now need to know which host for foo2 we have to change.
      Choose from the following hosts: 
        - localhost 
      The host please (case sensitive): localhost
      The following host will be used: localhost.
      ######################################################################
       
      That was it ... here is an overview of what you gave to me:
      The username 		: foo2
      The host		: localhost
      ######################################################################
       
      Are you pretty sure you would like to implement this [yes/no]: yes
      Okay ... let's go then ...
       
      Can't use string ("'localhost'") as an ARRAY ref while "strict refs" in use at ./mariadb-setpermission line 232, <STDIN> line 7.
      

      I haven't checked other MariaDB versions. Trying the same on an old MySQL 5.6.49 works.

      Attachments

        Issue Links

          Activity

            People

              anel Anel Husakovic
              greenman Ian Gilfillan
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.