Connects to a MySQL server and prints information such as the protocol and version numbers, thread ID, status, capabilities, and the password salt.
If service detection is performed and the server appears to be blocking our host or is blocked because of too many connections, then this script isn't run (see the portrule).
nmap -sV -sC <target>
3306/tcp open mysql | mysql-info: Protocol: 10 | Version: 5.0.51a-3ubuntu5.1 | Thread ID: 7 | Some Capabilities: Connect with DB, Transactions, Secure Connection | Status: Autocommit |_ Salt: bYyt\NQ/4V6IN+*3`imj
Author: Kris Katterjohn
License: Same as Nmap--See http://nmap.org/book/man-legal.html