Ping mysql connection before doint anything
New test