Compare commits
No commits in common. "0e3889bb382737667e9d14bbe6e8e947852375da" and "21a6b778bb4f9289eb2d424c746c4a4c842a6e3a" have entirely different histories.
0e3889bb38
...
21a6b778bb
@ -55,9 +55,9 @@ DBNAME=$(openssl rand -hex 12)
|
||||
USERNAME=$(openssl rand -hex 12)
|
||||
PASSWORD=$(openssl rand -hex 12)
|
||||
|
||||
mysql -uroot -e "CREATE DATABASE $DBNAME CHARACTER SET utf8 COLLATE utf8_general_ci";
|
||||
mysql -uroot -e "CREATE USER $USERNAME@'127.0.0.1' IDENTIFIED BY '$PASSWORD'";
|
||||
mysql -uroot -e "GRANT ALL PRIVILEGES ON $DBNAME.* TO '$USERNAME'@'127.0.0.1'";
|
||||
mariadb -uroot -e "CREATE DATABASE $DBNAME CHARACTER SET utf8 COLLATE utf8_general_ci";
|
||||
mariadb -uroot -e "CREATE USER $USERNAME@'127.0.0.1' IDENTIFIED BY '$PASSWORD'";
|
||||
mariadb -uroot -e "GRANT ALL PRIVILEGES ON $DBNAME.* TO '$USERNAME'@'127.0.0.1'";
|
||||
|
||||
notif "We have created the following Database information for this installaton: Database:$DBNAME|Username:$USERNAME|Password:$PASSWORD"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user