Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-2494

Install PMM docker when /var/lib/mysql is setup as a volume. mysql_install_db was not ran

    Details

    • Type: Admin & Maintenance Task
    • Status: New
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      I ran PMM in a docker container, mapped /var/lib/mysql to the host fliesystem.  3 ib files (ib_logfile0, ib_logfile1 and ibdata1) were generated.  However, none of the database files were created.  I think it didn't ran the below:

          # Create initial db
          /usr/bin/mysql_install_db --rpm --datadir="$datadir" --user=mysql
      

      I ended up, ran the above manually then created the PMM database and all QAN tables.

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                wilfred Wilfred Chau
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: