فهرست منبع

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