Browse Source

add script to configure mysql

Oz N Tiram 9 năm trước cách đây
mục cha
commit
9c68af8726
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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