I recently posted a question on SO.
A comment on the original question (which I asked they post as an answer), after a few individuals had posted answers, made me realize that the question I had asked was actually not the problem that I was hoping to solve.
I wouldn't have such an issue with this normally, but the answers to the question I asked would be valuable to others in the future.
On the other hand, the answer I was looking for, and want to accept, negates the entire need to do what I was thinking of doing.
The help suggests that I should accept the latter:
It simply means that the author received an answer that worked for him or her personally [...]
On the other hand, Realized I posted wrong question suggests I should accept the answer to the question and create a new question if needed.
Should I accept as answer the answer that actually solves the question I asked, and would be helpful to others in the future, or the question I wanted to ask?