Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't create table 'jiradb.AO_3A3ECC_JIRAMAPPING_BEAN'

John Harmon August 26, 2015

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

0 votes
John Harmon August 27, 2015

anyone? ....

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, mindful member, mindful member badge, atlassian community, community kudos, community giveaway, atlassian swag, community values, empathy and kindness, badge challenge, atlassian learning, community engagement, swag giveaway

Earn a Badge, Win a Prize 🎁

Earning the Mindful Member badge proves you know how to lead with kindness, plus it enters you into a giveaway for exclusive Atlassian swag. Take the quiz, grab the badge, and comment on our announcement article to spread the good vibes!

Start here
AUG Leaders

Atlassian Community Events