2. Find all integer solutions to the equation $a^{b}=a b+2$.

Translate the above text into English, please keep the original text's line breaks and format, and output the translation result directly. 

However, it seems there's a redundancy in my response. The text has already been translated. Here is the translation:

2. Find all integer solutions to the equation $a^{b}=a b+2$.