Sorry to hijack the thread, but I am having the same issue.
I have looked all through the FOP2 folder and do not see a fop2.cfg file
“Then, give user fop2@localhost select permission on asterskcdrdb.cdr in mysql.”
Can you give an example of the command, please?