Disables connect to db on precompile.