selien 发表于 2008-4-16 14:27:33

jira 数据导入出错问题

换一个数据库时导入备份的数据压缩包导入时出现以下
错误
Failed to import data: Error in action: com.atlassian.jira.action.admin.DataImport@1c20c74, result: error Error importing data: org.apache.commons.lang.exception.NestableException: com.atlassian.jira.exception.DataAccessException: org.ofbiz.core.entity.GenericEntityException: while inserting: (SQL Exception while executing the following:INSERT INTO fieldconfiguration (ID, configname, DESCRIPTION, FIELDID, CUSTOMFIELD) VALUES (?, ?, ?, ?, ?) (Data too long for column 'configname' at row 1))
应该怎么改求助啊,好心人帮忙啊,谢谢谢谢

522222 发表于 2012-5-31 16:59:06

是因为数据库字符集非UTF-8引起的。

官网解决办法https://confluence.atlassian.com/pages/viewpage.action?pageId=225119481
新建jiradb(命令create database jiradb default character set utf8),然后重新导入。
页: [1]
查看完整版本: jira 数据导入出错问题