Sha256: 09df6a68efbace344e03d5c34f7acd47922bfc8dd75f411d96f9d7cc3ed39398

Contents?: true

Size: 413 Bytes

Versions: 10

Compression:

Stored size: 413 Bytes

Contents

#!/usr/bin/env bash

case "$DB" in
mysql)
  sudo odbcinst -i -d -f /usr/share/libmyodbc/odbcinst.ini
  mysql -e "DROP DATABASE IF EXISTS odbc_test; CREATE DATABASE IF NOT EXISTS odbc_test;" -uroot
  mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost';" -uroot
  ;;
postgresql)
  sudo odbcinst -i -d -f /usr/share/psqlodbc/odbcinst.ini.template
  psql -c "CREATE DATABASE odbc_test;" -U postgres
  ;;
esac

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
odbc_adapter-5.0.5 bin/ci-setup
odbc_adapter-5.0.3 bin/ci-setup
odbc_adapter-5.0.2 bin/ci-setup
odbc_adapter-5.0.1 bin/ci-setup
odbc_adapter-5.0.0 bin/ci-setup
odbc_adapter-4.2.3 bin/ci-setup
odbc_adapter-4.2.2 bin/ci-setup
odbc_adapter-4.2.1 bin/ci-setup
odbc_adapter-4.2.0 bin/ci-setup
odbc_adapter-3.2.0 bin/ci-setup