  In this paper we study the relativistic scalar particle described by the
Klein-Gordon interacts with the uniform magnetic field in the context of the
Som-Raychaudhuri space-time. Based on the property of the biconfluent Heun
function equation, the corresponding Klein-Gordon oscillator and generalized
Klein-Gordon oscillator under considering the Coulomb potential are separately
investigated, and the analogue of the Aharonov-Bohm effect is analyzed in this
scenario. On this basis, we also give the influence of different parameters
including the parameter {\alpha} and oscillator frequency {\omega}, and the
potential parameter {\xi}2 on the energy eigenvalues of the considered systems.
