mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:00:11 +01:00
Fixed unit_tests/run.sh to start mariadb on ubuntu jammy
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
c0cf5da34f
commit
85ccca9acb
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user