Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-16750

Artifactory does not support MYSQL 8 out of the box.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 6.0.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Problems encountered after installing artifactory with mysql from docker - 8.0.11.
      This command is not supported:

      GRANT ALL on artdb.* TO 'artifactory'@'%' IDENTIFIED BY 'password';

      You have to create user in a separate command.

      Schema creation script did not work:

       
      
      CREATE TABLE users (
        user_id           BIGINT      NOT NULL,
        username          VARCHAR(64) NOT NULL,
        password          VARCHAR(128),
        salt              VARCHAR(128),
        email             VARCHAR(128),
        gen_password_key  VARCHAR(128),
        admin             TINYINT,
        enabled           TINYINT,
        updatable_profile TINYINT,
        realm             VARCHAR(255),
        private_key       VARCHAR(512),
        public_key        VARCHAR(255),
        last_login_time   BIGINT,
        last_login_ip     VARCHAR(42),
        last_access_time  BIGINT,
        last_access_ip    VARCHAR(42),
        bintray_auth      VARCHAR(512),
        locked            TINYINT,
        credentials_expired  TINYINT,
        CONSTRAINT users_pk PRIMARY KEY (user_id)
      );
      

      Syntax Error.

      The word admin is a reserved word.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                galba Gal Ben Ami
              • Votes:
                4 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated: