Disabling mysql db connection