DELIMITER | drop procedure if exists pro_update_role_pwd; CREATE PROCEDURE pro_update_role_pwd ( croleid VARCHAR(50), crolepwd VARCHAR(50) ) BEGIN #update traceroleid set Pwd =to_base64(CONCAT(''',crolepwd,''')) where TraceRoleID =CONCAT(''',croleid,…