You have to compile ser with mysql module. For instructions on how to do this see the user guide from www.iptel.org/ser or the getting started guide from www.onsip.org, where it's started step by step.