Ver Fonte

add script to configure mysql

Oz N Tiram há 9 anos atrás
pai
commit
9c68af8726
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      tests/config_mysql.sh

+ 6 - 0
tests/config_mysql.sh

@@ -0,0 +1,6 @@
+#!/bin/bash
+mysql -u root -p << END
+create database pwmantesta;
+create user 'pwman'@'localhost' IDENTIFIED BY '123456';
+grant all on pwmantest.* to 'pwman'@'localhost';
+END