It's all about attitude.
It's even more important than practice, practice, practice.
Don't just play the bass, 𝙗𝙚 the bass!
When you plug in, nothing should exist but you and the music.
Think about method acting.
A method actor doesn't just play a character, he 𝙗𝙚𝙘𝙤𝙢𝙚𝙨 the character, sometimes even staying in character off the set.
Attitude!
I wanted to quit learning after a few unproductive months, but once I changed my attitude, everything else fell into place.
I played guitar way back in the seventies...not too bad on rhythm, just couldn't handle lead. Gave it all up after five years or so.
I started playing bass eleven years ago.
It's a much better fit.
Things that helped me?
1) Finding the right bass. Bonding with your bass is very important. I know people who quit in frustration because they weren't playing the right bass.
2) Finding the right strings.
GHS black tapewounds are my favorites. They feel good and sound even better. There's no way I would have progressed to the point I'm at now with regular roundwounds.
3) Putting aside an hour each day to practice.
Don't overdo it, but don't slack off, either.
Practice with purpose. As mentioned above, when you do practice, shut off the outside world.
(By the way, I never took any lessons. I just took an approach that fit me.)