Thanks for figuring this out.
I had quite the surprise yesterday after rebooting a server that had been running for 150+ days since initial setup.
It took quite a while to narrow the issue down to the password for mysql. For the record, I had a '<' in my password. I have since simplified my password and I can now restart Openfire without running setup again.