Can't create table 'jiradb.AO_3A3ECC_JIRAMAPPING_BEAN'

Trying to create a staging/testing server from the backup files of Jira.  One of the final steps is to import the sql dump.  When doing so I encounter the following error:

ERROR 1005 (HY000) at line 56: Can't create table 'jiradb.AO_3A3ECC_JIRAMAPPING_BEAN' (errno: 150)

Web searches led me to a few docs regarding keys, etc. ( IE  http://www.eliacom.com/mysql-gui-wp-errno-150.php )  I still don't know how to correct this though.  Anyone else run into this and fixed it? or can someone point me in the right direction?

 

Line 56 and beyond (until the next table create statement) is as follows:

CREATE TABLE `AO_3A3ECC_JIRAMAPPING_BEAN` (
  `AUTO_PUSH_COMMENTS_ENABLED` tinyint(1) DEFAULT '1',
  `AUTO_PUSH_COMMENT_FOR_MS` tinyint(1) DEFAULT '1',
  `EXTERNAL_TO_JIRA_MAPPING_ID` int(11) DEFAULT '0',
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `JIRAMAPPING_SET_ID` int(11) DEFAULT NULL,
  `JIRA_TO_EXTERNAL_MAPPING_ID` int(11) DEFAULT '0',
  `REMOTE_OBJECT_TYPE` varchar(255) DEFAULT NULL,
  `REMOTE_SYSTEM_ID` varchar(255) DEFAULT NULL,
  `REQUIRED_FIELD_CHECK_EN` tinyint(1) DEFAULT '0',
  `ENABLE_RESTRICTED_COMMENTS` tinyint(1) DEFAULT '0',
  `QUERY_OPTIMIZED` tinyint(1) DEFAULT '0',
  `AUTO_PULL_COMMENTS_ENABLED` tinyint(1) DEFAULT '1',
  `ATTACHMENT_SYNC_ENABLED` tinyint(1) DEFAULT '0',
  `PULL_COMMENT_PRIVACY` longtext,
  PRIMARY KEY (`ID`),
  KEY `index_ao_3a3ecc_jir709120556` (`JIRAMAPPING_SET_ID`),
  KEY `index_ao_3a3ecc_jir1956064761` (`REMOTE_SYSTEM_ID`),
  CONSTRAINT `fk_ao_3a3ecc_jiramapping_bean_jiramapping_set_id` FOREIGN KEY    (`JIRAMAPPING_SET_ID`) REFERENCES `AO_3A3ECC_JIRAMAPPING_SET` (`ID`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
INSERT INTO `AO_3A3ECC_JIRAMAPPING_BEAN` VALUES (0,0,2,1,1,1,'Case','1',0,0,0,0,0,NULL);
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;

 

 Thanks in advance

1 answer

anyone? ....

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,806 views 11 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot