Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/264.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何在spreep中使用两个数据库_Php_Propel - Fatal编程技术网

Php 如何在spreep中使用两个数据库

Php 如何在spreep中使用两个数据库,php,propel,Php,Propel,我一直在集成推进应用程序,我只想使用两个数据库。但是我不知道如何在schema和build.properties文件中定义。有谁能告诉我,要拥有多个数据库,我应该怎么做呢?只需使用不同的数据库名称编写两个schema,然后配置一个runtime-conf.xml文件。 见:

我一直在集成推进应用程序,我只想使用两个数据库。但是我不知道如何在schema和build.properties文件中定义。有谁能告诉我,要拥有多个数据库,我应该怎么做呢?

只需使用不同的数据库名称编写两个schema,然后配置一个runtime-conf.xml文件。 见: