The first scale to learn on bass is the minor pentatonic, played in one position against a drum loop. It sounds like music straight away, it fits a huge number of songs, and it teaches the shape of the fretboard without asking you to read a note.
Start with five notes in one position
Take A minor pentatonic: A, C, D, E, G. Play it around the fifth position, using frets five, seven, eight and ten, and keep your hand in one place rather than sliding. Use one finger per fret where you can, and let the notes ring for their full value instead of clipping them short. Five minutes a day at a slow tempo is enough for the first week.
Say the note names out loud
Play each note and name it as you go. It feels slow and slightly childish, and it is the difference between learning a shape and learning where the notes live. After a week you should be able to start the pattern on any fret and know what note you are on without counting up from the open string.
Put the scale under a chord
Set a two-chord loop going and play only the notes that belong to the chord underneath. Land on the root at the change, and leave space elsewhere. A scale practised as an exercise stays an exercise; a scale played over a chord becomes a bass line, and that is the only reason to learn it.
For the first fortnight, keep the session simple: five minutes on the shape, five minutes over the loop, five minutes inside a real song. Tap your foot throughout and stop if your fretting hand starts gripping the neck. Evenness is the measure here, not speed.
Then build the major scale
The major scale uses a different interval pattern — whole, whole, half, whole, whole, whole, half — and it is the parent of most of the chords you will play under. Learn one octave of C major from the third fret of the A string, then move that shape to other starting notes. Notice that the minor pentatonic you already know sits inside it.
Do not learn all of its positions at once. One octave, one position, one week — then move the starting note and repeat. The goal is to hear the interval pattern, not to collect fingerings.
How long to stay with one shape
Two weeks, or until you can play the pattern at a steady tempo while looking at the drummer instead of your hand. Do not collect scales the way you collect songs; one shape used musically is worth more than six shapes recited up and down the neck. When the first one is automatic, add the major scale and repeat the same process.