Get the Whitepaper called MySQL UDF Exploitation.
You can download it from the following link: https://packetstormsecurity.com/files/download/146430/MySQL-UDF-Exploitation.pdf
Source: https://packetstormsecurity.com/files/146430/MySQL-UDF-Exploitation.html

