【问题标题】:Bugzilla - Table already exists: bz_schema at Bugzilla/DB/Schema.pmBugzilla - 表已经存在:Bugzilla/DB/Schema.pm 中的 bz_schema
【发布时间】:2016-11-23 11:10:43
【问题描述】:

我在 postgreSQL 数据库上安装 bugzilla 时遇到了一些问题。在centOS服务器上。 运行 checksetup.pl 文件时,输出以 :

结尾
Reading ./localconfig...
Checking for               DBD-Pg (v2.7.0)    ok: found v2.19.3
Checking for           PostgreSQL (v8.03.0000) ok: found v09.05.0400
Checking for               DBD-Pg (v2.19.3)   ok: found v2.19.3

Creating database bugs_pg...
Adding new table bz_schema...
Initializing bz_schema...
Table already exists: bz_schema at Bugzilla/DB/Schema.pm line 2702.

在新创建的数据库上。 我看到这个页面说这是 postgreSQL 的一个错误,但我的版本已经更新。 http://mozilla.6506.n7.nabble.com/Bugzilla-Perl-and-Postgress-installation-problem-td62236.html

我的用户有权毫无问题地创建它(我假设...)

 Nom du rôle(role name) |                                    Attributs                                    | Membre de
-------------+---------------------------------------------------------------------------------+-----------
 bugsPG      | Créer une base (Create database)                                                                  | {}
 postgres    | Superutilisateur, Créer un rôle, Créer une base, Réplication, Contournement RLS | {}

编辑:我什至尝试导入一个工作的 bugzilla 数据库: 出口:

pg_dump --no-privileges --no-owner -h localhost -U bugs -d bugs > bugs_pg.sql

创建数据库:

CREATE DATABASE bugs OWNER bugs;

最后:

psql -p 5434 -f bugs_pg.sql

还有强大的 bz_schema...

SET
SET
SET
SET
SET
SET
SET
SET
CREATE EXTENSION
COMMENT
SET
SET
SET
psql:bugs_pg.sql:44: ERREUR:  la relation « bz_schema » existe déjà (Bz_schema exist already)

【问题讨论】:

    标签: postgresql centos bugzilla


    【解决方案1】:

    我终于从 0 和 pgsql 基础重新安装了 Bugzilla,它现在似乎工作正常。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-01-10
      • 1970-01-01
      • 2012-05-27
      相关资源
      最近更新 更多