commands to switch to database and connection level are now general