Disabling mysql libraries