Create database connection for cookbook module.