Disable connection to legacy database