create user a@localhost; connect a,localhost,a; select * from performance_schema.global_status where variable_name='b'; VARIABLE_NAME VARIABLE_VALUE connection default; disconnect a; drop user a@localhost;