In this paper, we define a new q-analogy of the Bernoulli polynomials and the Bernoulli numbers and we deduced some important relations of them. Also, we deduced a q-analogy of the Euler-Maclaurin formulas. Finally, we present a relation between the q-gamma function and the q-Bernoulli polynomials.