It seems there is a regresion regarding openx/phpopenads upgrades in revive-adserver-3.2.2. I have the same issue upgrading Openads-2.0.11-pr1 to revive-adserver-4.0.1 (except for the prefix of the table not found being different - phpads).
I was able to workaround the issue by upgrading to Openads-2.0.11-pr1 to revive-adserver-3.2.2 and then revive-adserver-3.2.2 to revive-adserver-4.0.1.