It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 Sign up to answer
Community showcase
Posted in Jira

Calling all Jira Cloud users! Give us feedback on our exploration of a new navigation.

Hi everyone! My name’s Matt and I’m a product manager at Atlassian. I work in the navigation & findability space for all our Jira Cloud products. We’ve been working on trying to improve the exp...

1,237 views 20 12
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you