another attempt to debug remote database connection