Update class.MySQL.php

Add mysql_ping function