open db connection with autocommit turned on