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