Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-10193

civicrm-sql-* drush commands should function without a populated database

    Details

    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      drush civicrm-sql-conf and civicrm-sql-cli error out if CIVICRM_DSN points to an empty database. The equivalent Drupal commands use drush bootstrap phases to initialize the DB connection, and stop there, not trying to do anything else, like loading the variables table from the DB. This will allow these commands to be more useful for maintenance, like loading an existing DB into a new installation.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              drumm Neil Drumm
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: