Improved database server connect to allow connections without database