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