You will always get that error when the ACL in mysql doesn't match the -u and -p and the client does not have a matching IP address to the mysql account.
If all the above are corrected, it should work, if you are not relying totally on CEL instead of CDR now.