#! /bin/bash
mysql -u root -p --execute "CREATE DATABASE IF NOT EXISTS $1; GRANT ALL PRIVILEGES ON $1.* TO 'idatt2103'@'localhost'; FLUSH PRIVILEGES; "