Mysql 升级到Bugzilla 5.0
在设置Bugzilla 5.0时,运行./checksetup.pl,我遇到了这样一个美女:Mysql 升级到Bugzilla 5.0,mysql,perl,bugzilla,Mysql,Perl,Bugzilla,在设置Bugzilla 5.0时,运行./checksetup.pl,我遇到了这样一个美女: Removing existing compiled templates... Precompiling templates...done. Fixing file permissions... Adding foreign key: test_case_components.component_id -> components.id... DBD::mysql::db do failed: Ca
Removing existing compiled templates...
Precompiling templates...done.
Fixing file permissions...
Adding foreign key: test_case_components.component_id ->
components.id...
DBD::mysql::db do failed: Cannot add foreign key constraint [for Statement "ALTER TABLE test_case_components ADD
CONSTRAINT fk_test_case_components_component_id_components_id FOREIGN KEY (component_id)
REFERENCES components(id)
ON UPDATE CASCADE ON DELETE CASCADE"] at Bugzilla/DB.pm line 642.
Bugzilla::DB::bz_add_fks(Bugzilla::DB::Mysql=HASH(0x6c66e10), "test_case_components", HASH(0x61a5f30), HASH(0xa283c48)) called at Bugzilla/DB.pm line 546
Bugzilla::DB::bz_setup_foreign_keys(Bugzilla::DB::Mysql=HASH(0x6c66e10)) called at Bugzilla/Install/DB.pm line 745
Bugzilla::Install::DB::update_table_definitions(HASH(0x1522580)) called at ./checksetup.pl line 172
是因为我的数据库设置吗?还有其他人碰到过吗?如果有,您是否有适合自己的修补程序?请参阅(希望互联网搜索引擎能够提供的修补程序)。test\u case\u components表是Testopia的一部分。此时Testopia与Bugzilla 5不兼容。要做到这一点,还有很多工作要做。请参见“请从链接中添加一些内容”。