Update, added mysql.

Removed the old way of logging , added mysql.