DROP PROCEDURE IF EXISTS account.userSetPassword; DELIMITER $$ CREATE DEFINER=`root`@`%` PROCEDURE `account`.`userSetPassword`(vUserName VARCHAR(255), vPassword VARCHAR(255)) BEGIN /** * @deprecated Use user_setPassword() */ DECLARE vUserId INT; SELECT id INTO vUserId FROM user WHERE `name` = vUserName; CALL user_setPassword(vUserId, vPassword); END$$ DELIMITER ;