Optimize a bit, start mysql and fix /api1/check