Fix mysql usage