I am confused as to what you mean by "wiki pages" and what you mean by "connect confluence database to wiki pages"
(Confluence is a wiki by the way, and all of its pages are "connected" to its database because they are held in the database)
Instead of talking about the technical bits of this question, could you explain what you are trying to achieve? What would an end-user see from this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.