Check for tables existing even if database version is correct in case upgrade failed.
This would allow the best chance of recovery in the wordpress admin screens