dont blow up if there's no database server in environments like beta
dont blow up if there's no database server in environments like beta

Change-Id: I8963a583254160f408f0963acaa55d2211058e4e
Reviewed-on: https://gerrit.instructure.com/53824
Reviewed-by: Simon Williams <088e16a1019277b15d58faf0541e11910eb756f6@instructure.com>
Reviewed-by: Cody Cutrer <c4fe2b1d90ef8f2548c8aeabfa633434316f0305@instructure.com>
Tested-by: Jenkins
Product-Review: Ethan Vizitei <73eeb0b2f65d05a906adf3b21ee1f9f5a2aa3c1c@instructure.com>
QA-Review: Ethan Vizitei <73eeb0b2f65d05a906adf3b21ee1f9f5a2aa3c1c@instructure.com>

Jyaasa/canvas-lms,ShreniiNepal/shrenii_lmp,HotChalk/canvas-lms,whalejasmine/canvas-lms,leftplusrightllc/canvas-lms,utkarshx/canvas-lms,venturehive/canvas-lms,HotChalk/canvas-lms,kyroskoh/canvas-lms,redconfetti/canvas-lms,SwinburneOnline/canvas-lms,jay3126/canvas-lms,utkarshx/canvas-lms,sdeleon28/canvas-lms,Rvor/canvas-lms,grahamb/canvas-lms,va7map/canvas-lms,whalejasmine/canvas-lms,va7map/canvas-lms,juoni/canvas-lms,redconfetti/canvas-lms,leftplusrightllc/canvas-lms,Jyaasa/canvas-lms,greyhwndz/canvas-lms,fronteerio/canvas-lms,shidao-fm/canvas-lms,kyroskoh/canvas-lms,efrj/canvas-lms,skmezanul/canvas-lms,sfu/canvas-lms,roxolan/canvas-lms,greyhwndz/canvas-lms,grahamb/canvas-lms,kyroskoh/canvas-lms,leftplusrightllc/canvas-lms,Rvor/canvas-lms,efrj/canvas-lms,redconfetti/canvas-lms,Jyaasa/canvas-lms,wrdsb/canvas-lms,sdeleon28/canvas-lms,SwinburneOnline/canvas-lms,fronteerio/canvas-lms,efrj/canvas-lms,redconfetti/canvas-lms,roxolan/canvas-lms,utkarshx/canvas-lms,tgroshon/canvas-lms,shidao-fm/canvas-lms,jay3126/canvas-lms,va7map/canvas-lms,efrj/canvas-lms,shidao-fm/canvas-lms,grahamb/canvas-lms,roxolan/canvas-lms,sfu/canvas-lms,Rvor/canvas-lms,sfu/canvas-lms,venturehive/canvas-lms,kyroskoh/canvas-lms,venturehive/canvas-lms,sdeleon28/canvas-lms,juoni/canvas-lms,greyhwndz/canvas-lms,jay3126/canvas-lms,skmezanul/canvas-lms,Jyaasa/canvas-lms,SwinburneOnline/canvas-lms,juoni/canvas-lms,wrdsb/canvas-lms,greyhwndz/canvas-lms,wrdsb/canvas-lms,sdeleon28/canvas-lms,ShreniiNepal/shrenii_lmp,leftplusrightllc/canvas-lms,grahamb/canvas-lms,sfu/canvas-lms,tgroshon/canvas-lms,whalejasmine/canvas-lms,SwinburneOnline/canvas-lms,HotChalk/canvas-lms,djbender/canvas-lms,HotChalk/canvas-lms,grahamb/canvas-lms,roxolan/canvas-lms,sfu/canvas-lms,djbender/canvas-lms,ShreniiNepal/shrenii_lmp,tgroshon/canvas-lms,antoniuslin/canvas-lms,djbender/canvas-lms,sfu/canvas-lms,djbender/canvas-lms,venturehive/canvas-lms,utkarshx/canvas-lms,va7map/canvas-lms,wrdsb/canvas-lms,antoniuslin/canvas-lms,shidao-fm/canvas-lms,fronteerio/canvas-lms,antoniuslin/canvas-lms,Rvor/canvas-lms,whalejasmine/canvas-lms,skmezanul/canvas-lms,skmezanul/canvas-lms,sfu/canvas-lms,tgroshon/canvas-lms,fronteerio/canvas-lms,juoni/canvas-lms,ShreniiNepal/shrenii_lmp,antoniuslin/canvas-lms,jay3126/canvas-lms