Remove unrelated code
Add mysql support