did you load the asterisk addon’s? there are several asterisk modules that are needed to make it record in mysql. If the addons are not installed/loaded then that is why.
Did you change versions of Asterisk by any chance? upgrade them for example from 1.2 to 1.4. IF so then you need the matching addon’s.
The other issue is if you changed the mysyl password (looks like you might have), did you change it in all the needed places properly as the default password is passw0rd and restart things.