Dude!! You haven't set valid db config array.