source:
trunk/gsdl3/packages/mysql/gsinstall.bash@
5955
Last change on this file since 5955 was 5955, checked in by , 20 years ago | |
---|---|
|
|
File size: 813 bytes |
Line | |
---|---|
1 | #! |
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 |
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,DELETE,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,DELETE,UPDATE,DROP,CREATE ON mysql.* FROM gsdl3admin@localhost;" |
23 | |
24 |
Note:
See TracBrowser
for help on using the repository browser.