Add post: When Your Database Client Lies to You (Workbench 26 / MariaDB)
Deploy / build (push) Successful in 22s
Deploy / build (push) Successful in 22s
EN + ZH devops gotcha post on debugging MySQL Workbench 26.7.0's failure to connect to MariaDB. Three patches to Oracle's bundled code, all the same root cause: `major >= 8` is not a valid MySQL-vs-MariaDB test. Also adds per-post OG + banner (TERMINALS/BANNERS entries).
This commit is contained in:
@@ -585,6 +585,26 @@ BANNERS['replacing-rdpguard-with-ipban'] = {
|
||||
],
|
||||
};
|
||||
|
||||
BANNERS['patching-workbench-26-for-mariadb'] = {
|
||||
titlebar: 'root@win11 — workbench 26.7.0',
|
||||
lines: [
|
||||
{ t: 'cmd', text: 'workbench → mariadb 192.168.1.124:3306' },
|
||||
{ t: 'err', text: 'TypeError: on_session_message() missing 1 arg' },
|
||||
{ t: 'dim', text: 'the error handler crashed reporting the error' },
|
||||
{ t: 'err', text: "ERROR 1193: Unknown system variable 'gtid_mode'" },
|
||||
{ t: 'dim', text: 'MariaDB 10.11 → nversion 101119 · major >= 8 guard passes' },
|
||||
{ t: 'cmd', text: 'patch replication.py · DbSession.py · SetupTasks.py' },
|
||||
{ t: 'err', text: "ERROR 1193: 'explain_json_format_version' — again" },
|
||||
{ t: 'hl', text: '4 connections · mysqlsh proved the server was fine' },
|
||||
],
|
||||
flow: [
|
||||
{ n: '1', label: 'mysqlsh test' },
|
||||
{ n: '2', label: 'fix handler' },
|
||||
{ n: '3', label: '3 patches' },
|
||||
{ n: '4', label: 'connected ✓' },
|
||||
],
|
||||
};
|
||||
|
||||
// ---------- read frontmatter ----------
|
||||
const postPath = join(ROOT, 'src', 'content', 'posts', `${slug}.md`);
|
||||
let category = 'devops';
|
||||
|
||||
Reference in New Issue
Block a user