2019-07-10 14:30:38 +00:00
|
|
|
#!/usr/bin/bash
|
|
|
|
|
|
|
|
# MariaDB setup
|
2023-10-20 08:16:10 +00:00
|
|
|
export MARIADB_DIR=$PWD/t/testdb
|
|
|
|
export MARIADB_UNIX_PORT=$MARIADB_DIR/mysql.sock
|
|
|
|
export MARIADB_PIDFILE=$MARIADB_DIR/mysql.pid
|
|
|
|
export MARIADB_USER=`whoami`
|
2019-07-10 14:30:38 +00:00
|
|
|
|
|
|
|
# DBD::MariaDB test setup
|
|
|
|
export DBD_MARIADB_TESTDB=testdb
|
|
|
|
export DBD_MARIADB_TESTHOST=localhost
|
2023-10-20 08:16:10 +00:00
|
|
|
export DBD_MARIADB_TESTSOCKET=$MARIADB_UNIX_PORT
|
2019-07-10 14:30:38 +00:00
|
|
|
export DBD_MARIADB_TESTUSER=testuser
|
|
|
|
export DBD_MARIADB_TESTPASSWORD=testpassword
|
|
|
|
|