Merge "Do not drop databases without a good reason"
This commit is contained in:
commit
09f6c4deb4
|
@ -3,7 +3,6 @@ set -eu
|
|||
|
||||
function create_db {
|
||||
local sql="
|
||||
drop database if exists $1;
|
||||
create database if not exists $1;
|
||||
grant all on $1.* to '$2'@'localhost' identified by '$3';
|
||||
grant all on $1.* to '$2'@'%' identified by '$3';
|
||||
|
|
Loading…
Reference in New Issue