Timing is everything. You will significantly improve your chances of getting the “yes” if you carefully pick the right opportunity to talk about a salary increase with your boss.
Focus on why you deserve a raise, not why you need a raise. You might be surprised at some of the things my staff would tell me that had nothing to do with their accomplishments at work.