Asterisk and mysql5 (debian and FC5)

is there step-by-step procedure to make asterisk and mysql5 work together?
thanks.