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'

John Harmon Aug 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 Aug 27, 2015

anyone? ....

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

2,325 views 6 15
Read article

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