correlation https://teguhth.blogspot.com/2026/04/create-store-procedure-sync-manual_10.html <diperbarui disini>
correlation https://teguhth.blogspot.com/2026/04/shell-script-sync-manual-table-add.html shell script to check
correlation https://teguhth.blogspot.com/2025/03/query-to-check-table-column-compare_28.html basic compare
1. check
SELECT @@hostname,@@version;
SELECT
TABLE_SCHEMA,
TABLE_TYPE,
COUNT(*) AS total_objek
FROM information_schema.tables
WHERE TABLE_SCHEMA IN ('teguhth', 'aisyahdb')
GROUP BY TABLE_SCHEMA, TABLE_TYPE;
2. Hitung jumlah kolom yang perlu dibandingkan
SELECT
TABLE_SCHEMA,
COUNT(*) AS total_kolom
FROM information_schema.columns
WHERE TABLE_SCHEMA IN (
'teguhth',
'aisyahdb'
)
GROUP BY TABLE_SCHEMA;









.jpeg)







.jpeg)



.jpg)

