Explorar o código

add script to configure mysql

Oz N Tiram %!s(int64=9) %!d(string=hai) anos
pai
achega
9c68af8726
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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