We present a class of minimal U(1)_X models as a plausible solution to the R_K anomaly that can also help reproduce the neutrino mixing pattern. The symmetries and the corresponding X-charges of the fields are determined in a bottom-up approach demanding both theoretical and experimental consistencies. The breaking of U(1)_X symmetry results in a massive Z', whose couplings with leptons and quarks are necessarily non-universal to address the R_K anomaly. In the process, an additional Higgs doublet is introduced to generate quark mixings. The mixings in the neutrino sector are generated through Type-I seesaw mechanism by the addition of three right handed neutrinos and a scalar singlet. The Z' can be probed with a few hundred fb^-1 of integrated luminosity at the 13 TeV LHC in the di-muon channel.