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

Cannot delete or update a parent row: a foreign key constraint fails when using civicrm.mysql

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Hi,

      When re-installing/updating from the svn, it fails deleting tables cause foreign key constraints.

      SET FOREIGN_KEY_CHECKS=0; is your friend

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              xavier xavier dutoit
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: