Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed old mysql script

  • Loading branch information...
commit 5241f73e0ba31dc958ed3843a4c95b1fda52810e 1 parent 040f333
Flatsoft Admin authored
Showing with 0 additions and 23 deletions.
  1. +0 −23 install/interactive/create_mysql_user.sh
View
23 install/interactive/create_mysql_user.sh
@@ -1,23 +0,0 @@
-# Copyright (c) 2008-2009, the Flatsoft, LLC.
-# All rights reserved
-
-
-# sliceconfig dir
-sliceconfig=`dirname $0`/../..
-sliceconfig=`readlink -f $sliceconfig`
-
-# check params
-if [ $# -ne 3 ];then
- echo
- echo "use: $0 user db pass"
- echo
- exit
-fi
-
-user=$1
-db=$2
-pass=$3
-
-echo "grant access to $db for $user"
-mysql -u root -e "grant all privileges on $db.* to '$user'@'%' identified by '$pass'"
-mysql -u root -e "flush privileges"
Please sign in to comment.
Something went wrong with that request. Please try again.