---
title: "How to upgrade the Geneos Database Schema to the latest?"
description: "Upgrading the Geneos Database Schema involves identifying your current schema version and applying the latest update script. The process includes disabling database logging, verifying the latest schema version, and running the appropriate SQL update script."
url: "https://docs.itrsgroup.com/docs/faq/geneos/115004031689-geneos-how-to-upgrade-the-geneos-database-schema-to-the-latest/index.html"
---
1. Disable database logging in the Gateway Setup Editor.
2. Observe what version of the schema you are currently using.

![Geneos schema version](https://docscdn.itrsgroup.com/faq/images/geneos/geneos-database-schema.png)

3. Verify what the latest ITRS schema version is.

Look within the current Production version of the Gateway tar bundle, the `/gateway/resources/databases/mysql` directory, if you are using mysql. The latest schema script file will be listed. The following script indicates that 1.8 is the latest version:

![Geneos 1.8 schema version](https://docscdn.itrsgroup.com/faq/images/geneos/geneos-1.8-schema-version.png)

In that scenario update the database schema by running the `update-1.8.sql` script. Ensure you modify the script to match the correct database name and tables.


