Something that I wanted to say since it hasn't been said already is that knowing scales on bass or guitar can make composing a lot easier. Another thing that I think is really important to learn are
I, IV, V, progressions, because the blues kick ass.