来自application.ini
的单个数据库连接(资源配置):
resources.db.adapter = "pdo_mysql" resources.db.params.host = "mysql1" resources.db.params.username = "dbuser" resources.db.params.password = "dbpass" resources.db.params.dbname = "dbname" ;resources.db.???
来自application.ini
的多个数据库连接(资源配置):
resources.multidb.mysql1.adapter = "pdo_mysql" resources.multidb.mysql1.host = "mysql1" resources.multidb.mysql1.username = "dbuser" resources.multidb.mysql1.password = "dbpass" resources.multidb.mysql1.dbname = "dbname" ;resources.multidb.mysql1.???