The major scale is the most basic scale in music and it is the one that every other scales get compared to. This scale is considered as being: 1, 2, 3, 4, 5, 6, 7. What that means is that this scale has no modification and it has seven notes. This scale, just like every other scales, is used for melodies, solos, riffs, etc.
If you were in the key signature of C, the notes of the scale would be: C, D, E, F, G, A, B
Below is a graphic showing what the major scale looks like on the bass guitar. The green colour is the root note. So, you simply need to find the root note for the key signature you are playing in and start the scale from there.
Practice going up and down this scale to remember it well.
If you have any questions, please contact us at patrice@paliatsky.com