{% extends "base.html" %} {% block title %}{{ integration.name }} - MySQL to Sheets Sync{% endblock %} {% block page_title %}{{ integration.name }}{% endblock %} {% block page_subtitle %}

{{ integration.integration_type|upper }} {% if not integration.is_active %}Inactive{% endif %}

{% endblock %} {% block content %}

Connection Health

{% if integration.health_status == 'connected' %} Connected {% elif integration.health_status == 'disconnected' %} Disconnected {% elif integration.health_status == 'error' %} Error {% else %} ? Unknown {% endif %}
{% if integration.health_latency_ms %}
Latency {{ integration.health_latency_ms|round(1) }}ms
{% endif %} {% if integration.last_health_check_at %}
Last Check {{ integration.last_health_check_at.strftime('%Y-%m-%d %H:%M:%S') }}
{% endif %} {% if integration.health_error_message %}
Error: {{ integration.health_error_message }}
{% endif %}

Connection Details

Type {{ integration.integration_type|upper }}
{% if integration.integration_type != 'sqlite' %}
Host {{ integration.host }}
Port {{ integration.port or 'Default' }}
{% endif %}
Database {{ integration.database_name }}
{% if integration.ssl_mode %}
SSL Mode {{ integration.ssl_mode }}
{% endif %}
Status {% if integration.is_active %} Active {% else %} Inactive {% endif %}

Metadata

ID {{ integration.id }}
Created {% if integration.created_at %} {{ integration.created_at.strftime('%Y-%m-%d %H:%M:%S') }} {% else %} Unknown {% endif %}
Updated {% if integration.updated_at %} {{ integration.updated_at.strftime('%Y-%m-%d %H:%M:%S') }} {% else %} Never {% endif %}
Last Verified {% if integration.last_verified_at %} {{ integration.last_verified_at.strftime('%Y-%m-%d %H:%M:%S') }} {% else %} Never {% endif %}
{% if integration.description %}
Description {{ integration.description }}
{% endif %}
← Back to Databases
{% endblock %}