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

