Skip to content

Commit e3b95ad

Browse files
committed
mysql->mariadb
1 parent b33edaf commit e3b95ad

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

debezium/debezium-xtdb/.mise.toml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ echo "CDC state reset"
3030
"""
3131

3232
[tasks.demo]
33-
description = "Start MySQL, reset CDC state, and run"
34-
depends = ["mysql-setup", "reset", "run"]
33+
description = "Start MariaDB, reset CDC state, and run"
34+
depends = ["mariadb-setup", "reset", "build", "run"]
3535

3636
[tasks.deploy-sink]
3737
description = "Deploy sink JAR to Debezium Server lib/"
@@ -48,8 +48,8 @@ cp target/debezium-xtdb-1.0.0-SNAPSHOT.jar "$DEBEZIUM_DIR/lib/"
4848
echo "Deployed to $DEBEZIUM_DIR/lib/"
4949
"""
5050

51-
[tasks.mysql-writer]
52-
description = "Continuously write to MySQL (generates CDC events)"
51+
[tasks.mariadb-writer]
52+
description = "Continuously write to MariaDB (generates CDC events)"
5353
run = "scripts/mysql-writer.sh"
5454

5555
[tasks.xtdb-poller]
@@ -65,7 +65,7 @@ rm -rf data/*
6565
echo "Cleaned"
6666
"""
6767

68-
[tasks.mysql-install]
68+
[tasks.mariadb-install]
6969
description = "Install MariaDB via system package manager"
7070
run = """
7171
#!/bin/bash
@@ -79,9 +79,9 @@ sudo pacman -S --noconfirm mariadb
7979
echo "MariaDB installed"
8080
"""
8181

82-
[tasks.mysql-init]
83-
description = "Initialize MySQL data directory (one-time)"
84-
depends = ["mysql-install"]
82+
[tasks.mariadb-init]
83+
description = "Initialize MariaDB data directory (one-time)"
84+
depends = ["mariadb-install"]
8585
run = """
8686
#!/bin/bash
8787
set -e
@@ -95,9 +95,9 @@ mariadb-install-db --datadir="$PWD/$MYSQL_DATA_DIR" --auth-root-authentication-m
9595
echo "MariaDB initialized (root has no password)"
9696
"""
9797

98-
[tasks.mysql-start]
99-
description = "Start MySQL server with binlog enabled"
100-
depends = ["mysql-init"]
98+
[tasks.mariadb-start]
99+
description = "Start MariaDB server with binlog enabled"
100+
depends = ["mariadb-init"]
101101
run = """
102102
#!/bin/bash
103103
set -e
@@ -127,8 +127,8 @@ else
127127
fi
128128
"""
129129

130-
[tasks.mysql-stop]
131-
description = "Stop MySQL server"
130+
[tasks.mariadb-stop]
131+
description = "Stop MariaDB server"
132132
run = """
133133
#!/bin/bash
134134
PIDFILE="$PWD/$MYSQL_DATA_DIR/mariadbd.pid"
@@ -148,9 +148,9 @@ else
148148
fi
149149
"""
150150

151-
[tasks.mysql-setup]
151+
[tasks.mariadb-setup]
152152
description = "Create CDC user, database, and tables"
153-
depends = ["mysql-start"]
153+
depends = ["mariadb-start"]
154154
run = """
155155
#!/bin/bash
156156
set -e
@@ -187,8 +187,8 @@ SQL
187187
echo "Database setup complete - 5 seed users created"
188188
"""
189189

190-
[tasks.mysql-status]
191-
description = "Check MySQL server status"
190+
[tasks.mariadb-status]
191+
description = "Check MariaDB server status"
192192
run = """
193193
#!/bin/bash
194194
PIDFILE="$PWD/$MYSQL_DATA_DIR/mariadbd.pid"
@@ -200,11 +200,11 @@ else
200200
fi
201201
"""
202202

203-
[tasks.mysql-clean]
204-
description = "Stop MySQL and remove data directory"
205-
depends = ["mysql-stop"]
203+
[tasks.mariadb-clean]
204+
description = "Stop MariaDB and remove data directory"
205+
depends = ["mariadb-stop"]
206206
run = """
207207
#!/bin/bash
208208
rm -rf "$MYSQL_DATA_DIR"
209-
echo "MySQL data directory removed"
209+
echo "MariaDB data directory removed"
210210
"""

0 commit comments

Comments
 (0)