diff --git a/lib/srv/db/proxyserver.go b/lib/srv/db/proxyserver.go index 21866f4587be4..f25c63c9beb66 100644 --- a/lib/srv/db/proxyserver.go +++ b/lib/srv/db/proxyserver.go @@ -323,7 +323,7 @@ func (s *ProxyServer) handleConnection(conn net.Conn) error { return trace.Wrap(err) } switch proxyCtx.Identity.RouteToDatabase.Protocol { - case defaults.ProtocolPostgres: + case defaults.ProtocolPostgres, defaults.ProtocolCockroachDB: return s.PostgresProxyNoTLS().HandleConnection(s.closeCtx, tlsConn) case defaults.ProtocolMySQL: version := getMySQLVersionFromServer(proxyCtx.Servers)