Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22419

Clearing cache in CLI when eZ Publish is not yet installed leads to database error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.2, 2014.01, 5.3-dev
    • Fix Version/s: 2014.03, 5.3
    • Component/s: Caching
    • Labels:

      Description

      When clearing cache using cache:clear cli command while eZ Publish has not yet been installed, a database error occurs:

        [RuntimeException]
        Database error
      
        [PDOException]
        SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
      

      It usually happens if you install eZ completely via Composer (e.g. via create-project command).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jerome.vieilledent-obsolete@ez.no Jérôme Vieilledent (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h