gpt4 book ai didi

mysql - 升级到 Bugzilla 5.0

转载 作者:行者123 更新时间:2023-11-28 23:56:16 25 4
gpt4 key购买 nike

在设置 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: 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

是因为我的数据库设置吗?还有其他人遇到过这个吗?如果是这样,您有适合您的补丁吗?

最佳答案

参见 https://bugzilla.mozilla.org/show_bug.cgi?id=923865 (希望互联网搜索引擎能够将其调出)。

关于mysql - 升级到 Bugzilla 5.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31596698/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com