You don't need to know many guitar scales to play guitar solos ... You should be able to see that the C major pentatonic scale uses all the notes from a C chord, plus a couple of extras.
But if you still find yourself trapped in the confines of pentatonic and major scales, a good way to break this harmonic ...
Major pentatonic scales are used a lot in folk music and Chinese music. They usually have a joyful feeling. They are also very good for solos and melodies played on the guitar.