MySQL is an open-source database produced by MySQL AB. MySQL AB provides binaries for the Windows platform which run out-of-the-box. However, the default configuration for these binaries leave MySQL wide open to attack in a number of ways: A null root password, a non-loopback-bound server, and no logging. Included in this advisory is source to demonstrate an attack using this information.
You can download it from the following link: https://packetstormsecurity.com/files/download/26562/mysqlfuck.c
Source: https://packetstormsecurity.com/files/26562/mysqlfuck.c.html