rdbms: migrate DatabaseMysqlBase::getServerVersion() to using the local server cache