Переглянути джерело

add script to configure mysql

Oz N Tiram 9 роки тому
батько
коміт
9c68af8726
1 змінених файлів з 6 додано та 0 видалено
  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