Unable to login to mysql on mycloud

I have deleted root user account from mysql and now I cant login to mysql.

How do I completely remove/uninstall mysql and then reinstall

I try it from apps but it doesnt remove the software it still leaves the data behind

Cannot log in to the MySQL server
Packets out of order. Expected 0 received 1. Packet size=68

(phpMyAdmin/themes/dot.gif) mysqli::real_connect(): MySQL server has gone away

(phpMyAdmin/themes/dot.gif) mysqli::real_connect(): Error while reading greeting packet. PID=4561

(phpMyAdmin/themes/dot.gif) mysqli::real_connect(): (HY000/2006): MySQL server has gone away