Fixed db connection to support Russian language and OpenShift deployment