{% extends "base.html" %} {% from "macros/ui.html" import btn, btn_link, alert, badge, table, empty_state %} {% block title %}MySQL to Sheets Sync Dashboard{% endblock %} {% block page_title %}MySQL to Sheets Sync{% endblock %} {% block content %} {% if show_first_run_banner %}
Welcome! A default admin account has been created:
Email: {{ default_admin_email }}
Password: {{ default_admin_password }}
Please change your password immediately after logging in.
Click here to login
{% endif %}

Run Sync

?
Manage
?
Find in your sheet URL: docs.google.com/spreadsheets/d/SHEET_ID/edit
?
Tab name (default: Sheet1) or URL with #gid=123456
?
Manage
?
Only SELECT queries are allowed. Results will be pushed to your sheet.
1
Connect to DB
2
Fetch Data
3
Push to Sheets
4
Done

Recent Syncs

View All History
{% if history %} {% for entry in history[:5] %} {% endfor %}
Time Status Rows Sheet Duration
{{ entry.timestamp }} {{ 'Success' if entry.success else 'Failed' }} {% if not entry.success and entry.error_code %} {{ entry.error_code }} {% endif %} {{ entry.rows_synced }} {{ entry.worksheet }} {{ entry.duration_ms }}ms
{% else %}

No sync history yet. Run your first sync above!

{% endif %}
Current Environment
Database Type {{ config.db_type|default('mysql') }}
Database Host {{ config.db_host }}
Database Name {{ config.db_name }}
Sheet ID {{ config.sheet_id[:20] }}...
Worksheet {{ config.worksheet }}
Service Account {{ config.service_account_file|default('./service_account.json') }}
{% endblock %} {% block scripts %} {% endblock %}