QGIS/tests/testdata/provider/testdata_oracle.sh
2020-01-02 20:59:28 +10:00

13 lines
266 B
Bash
Executable File

#!/bin/sh
HOST=$1
set -e
echo "create user QGIS identified by qgis;
grant create session to qgis;
grant all privileges to qgis;
exit" | sqlplus SYSTEM/adminpass@$HOST/XEPDB1
echo exit | sqlplus QGIS/qgis@$HOST/XEPDB1 @tests/testdata/provider/testdata_oracle.sql