diff --git a/unit_tests/run.sh b/unit_tests/run.sh index 03c4bcff..8d7169c2 100755 --- a/unit_tests/run.sh +++ b/unit_tests/run.sh @@ -15,7 +15,12 @@ export LD_LIBRARY_PATH=../src pushd "$SCRIPT_DIR" setup_mysql() { - service mysql start + if [[ "$DISTRO" == "jammy" ]]; then + service mariadb start + else + service mysql start + fi + mysql -u piler -ppiler123 piler1 < ../util/db-mysql.sql }