wCMF Wiki : MoreDataBase

HomePage :: Categories :: PageIndex :: RecentChanges :: Login/Register
You can use the wCMF to integrate existing applications distributed to more that a database.


this works ONLY if all the children and parents object are on the same database.

give a special name like database2 to the tagged value: initparams.

then edit the file config.ini to add a new entry with the following fields:
[database2]
dbType = 
dbHostName = 
dbName = 
dbUserName = 
dbPassword = 


in the actual version the only type supported is MySQL.

[initparams]
Class1RDBMapper = database
Class2RDBMapper = database2

...
[database]
dbType = mysql
dbHostName = localhost
dbName = db1
dbUserName = ingo
dbPassword = bla


[database2]
dbType = mysql
dbHostName = localhost
dbName = db2
dbUserName = Giuseppe
dbPassword = bla
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0302 seconds