After establishing the connection to “your” DB and doing all the required work you need to reestablish the connection to the DB wordpress uses. Just keeping the object around is not good enough.
After establishing the connection to “your” DB and doing all the required work you need to reestablish the connection to the DB wordpress uses. Just keeping the object around is not good enough.