1

Processmaker 默认使用 mysql,但我不想使用 mysql,因为我的团队在 postgresql 上。我已经更改了接受 postgres 连接的 db.php 文件,但它没有填充数据库。在我的 sql 中它有 138 个表。我期望它会检测到新数据库并添加必要的表。但到目前为止还没有发生。

如果我将所有表从 mysql 复制到 pgsql 那么它会工作吗?

这是我得到的错误

RuntimeException:
 [wrapped: Could not execute query [Native Error: ERROR:  relation "configuration" does not exist
LINE 1: SELECT COUNT(CONFIGURATION.CFG_UID) FROM CONFIGURATION WHERE...
                                                 ^] [User Info: SELECT COUNT(CONFIGURATION.CFG_UID) FROM CONFIGURATION WHERE CONFIGURATION.CFG_UID='getStarted' AND CONFIGURATION.OBJ_UID='' AND CONFIGURATION.CFG_VALUE='1' AND CONFIGURATION.PRO_UID='' AND CONFIGURATION.USR_UID='' AND CONFIGURATION.APP_UID='']]
At BasePeer::doSelect() 
in C:\Users\admin\AppData\Roaming\ProcessMaker-3_0_1_7_community-1\processmaker\workflow\engine\classes\model\om\BaseConfigurationPeer.php line 293
At BaseConfigurationPeer::doSelectRS() 
in C:\Users\admin\AppData\Roaming\ProcessMaker-3_0_1_7_community-1\processmaker\workflow\engine\classes\model\om\BaseConfigurationPeer.php line 223
At BaseConfigurationPeer::doCount() 
in C:\Users\admin\AppData\Roaming\ProcessMaker-3_0_1_7_community-1\processmaker\workflow\engine\methods\login\login.php line 455
At require_once() in C:\Users\admin\AppData\Roaming\ProcessMaker-3_0_1_7_community-1\processmaker\workflow\public_html\sysGeneric.php line 2027
At include() in C:\Users\admin\AppData\Roaming\ProcessMaker-3_0_1_7_community-1\processmaker\workflow\public_html\app.php line 61
4

1 回答 1

1

不幸的是,ProcessMaker 只能在核心主数据库的 MySQL 数据库引擎下运行。可以将 ProcessMaker 设置为连接到其他引擎类型的外部数据库源,例如 Postgres,但是,这仅用于在外部数据库连接中检索和推送数据。

其原因是已经有大量自定义 SQL 写入特定于 MySQL 的源代码。

我们试图让它在 MSSQL 上运行,但是,我们最终得出结论,要让 ProcessMaker 在 MSSQL 上运行需要太多的努力,所以我们决定只坚持使用 MySQL。

于 2016-07-01T15:27:58.263 回答