log mysql commands