How did B.B. King get his name?

B.B. King was born Riley B. King.

Initially, he worked at WDIA as a singer and disc jockey, gaining the nickname "Beale Street Blues Boy", which was later shortened to "Blues Boy" and finally to B.B. B.B. is normally written with periods, but no space between the letters.