Solomon built a temple for god and wrote the book of Ecclesiastes's.
Solomon was the son of David according to the bible.
It is the same person.
It could be named after king Solomon.
King Solomon was mostly referring to his "beloved wife" in Song of Solomon.