DROP PROCEDURE IF EXISTS account.myUser_logout; DELIMITER $$ CREATE DEFINER=`root`@`%` PROCEDURE `account`.`myUser_logout`() BEGIN /** * Logouts the user. */ SET @userId = NULL; SET @userName = NULL; SET @userSignature = NULL; END$$ DELIMITER ; GRANT EXECUTE ON PROCEDURE account.myUser_logout TO account@localhost;