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

CiviCRM Drush commands use wrong database

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4
    • Fix Version/s: 3.4.6
    • Labels:
      None

      Description

      There are a bunch of drush-sql commands that are added for CiviCRM:

      civicrm-sql-cli Open a SQL command-line interface using CiviCRM's credentials.
      civicrm-sql-conf Print CiviCRM database connection details.
      civicrm-sql-connect A string for connecting to the CiviCRM DB.
      civicrm-sql-dump Exports the CiviCRM DB as SQL using mysqldump.
      civicrm-sql-query Execute a query against the CiviCRM database.

      These all seem to be connecting to and doing queries on the Drupal mysql database, not the CiviCRM database.

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              micah Micah Lee
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: