Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-1934

PDP-X (non-legacy): does not create tables when container comes up

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • El Alto Release
    • El Alto Release
    • None
    • Policy El Alto 1 6/24-7/26

      Tables are not created when the container comes up.   Note that the mysql statement is missing a "-h policydb" flag for default OOM ONAP installations.

      SQL_FILE="${POLICY_HOME}/mysql/sql/createguardtable.sql"
      + SQL_FILE=/opt/app/policy/pdpx/mysql/sql/createguardtable.sqlmysql -upolicy_user -ppolicy_user < "${SQL_FILE}"
      + mysql -upolicy_user -ppolicy_user
      ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)
      
      

       

            mmokry mmokry
            jhh jhh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: