diff --git a/src/servers/src/mysql/handler.rs b/src/servers/src/mysql/handler.rs index d7b5173bd9c3..8e7b4630ebb4 100644 --- a/src/servers/src/mysql/handler.rs +++ b/src/servers/src/mysql/handler.rs @@ -221,6 +221,10 @@ impl MysqlInstanceShim { impl AsyncMysqlShim for MysqlInstanceShim { type Error = error::Error; + fn version(&self) -> String { + std::env::var("GREPTIMEDB_MYSQL_SERVER_VERSION").unwrap_or_else(|_| "8.4.2".to_string()) + } + fn salt(&self) -> [u8; 20] { self.salt }