Update mysql.pm

Will work with ipv6 and ipv4 addresses
Merge pull request #23 from katyavoid/patch-1

Update mysql.pm