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

Initial db installation sets a root password

    Details

    • Type: Task
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Fix Version/s: N/A
    • Component/s: Documentation
    • Labels:
      None

      Description

      using these steps to create a database will block at the attempt to logon without a root password.

      Unable to find source-code formatter for language: sh. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
      sudo zfs create -o recordsize=8k -o primarycache=metadata -o mountpoint=/srv/data zdata/data
      sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/srv/data
      sudo systemctl start mysqld
      sudo mysql_secure_installation
      

      Leaving the password blank is not an option:

      ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            greenman Ian Gilfillan added a comment -

            I don't understand what needs to be documented here?

            Show
            greenman Ian Gilfillan added a comment - I don't understand what needs to be documented here?

              People

              • Assignee:
                greenman Ian Gilfillan
                Reporter:
                theking2 johannes kingma
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: