Changeset 5821 for trunk/gsdl3
- Timestamp:
- 2003-11-12T10:21:49+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/packages/mysql/gsinstall.bash
r5803 r5821 1 1 #! 2 if test ! -d "/bin/linux"; then 3 mkdir /bin/linux 4 fi 5 if test ! -d "../../bin/linux/mysql" ; then 6 mkdir ../../bin/linux/mysql 7 fi 8 HOME=`pwd` 9 `./configure --prefix=$HOME/bin/linux/mysql --libexec=$HOME/bin/linux/mysql/libexec` 10 chmod $HOME/ 11 make 2 #tar -xvzf mysql-4.0.16.tar.gz 3 #if test ! -d "../../bin/linux"; then 4 # mkdir ../../bin/linux 5 #fi 6 #if test ! -d "../../bin/linux/mysql" ; then 7 # mkdir ../../bin/linux/mysql 8 #fi 9 #HOME=`pwd` 10 #cd mysql-4.0.16 11 #`./configure --prefix=$HOME/bin/linux/mysql --libexec=$HOME/bin/linux/mysql/libexec` 12 #chmod $HOME/ 13 #make 12 14 15 # install the databases if necessary - only run this the FIRST time that the 16 # database is created!!! 17 #./bin/mysql_install_db 18 19 # create the gsdl3admin and gsdl3reader users... 20 ./bin/mysql --user=root --execute="GRANT SELECT,INSERT,UPDATE,DROP,CREATE ON *.* TO gsdl3admin@localhost;" 21 ./bin/mysql --user=root --execute="GRANT SELECT ON *.* TO gsdl3reader@localhost;" 22 #./bin/mysql --user=root --execute="REVOKE SELECT,INSERT,UPDATE,DROP,CREATE ON mysql.* FROM gsdl3admin@localhost;" 23 24
Note:
See TracChangeset
for help on using the changeset viewer.