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