Last change
on this file since 7840 was 7840, checked in by kjdon, 20 years ago |
scripts to setup mysql and load in the sample dbs for the installer
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
503 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | gsdl3home=$1
|
---|
4 |
|
---|
5 | if [ "$gsdl3home" == "" ]; then
|
---|
6 | echo "Usage: $0 <gsdl3home>"
|
---|
7 | exit 1
|
---|
8 | fi
|
---|
9 |
|
---|
10 | cd $gsdl3home
|
---|
11 |
|
---|
12 | ./gs3-mysql-server.sh start
|
---|
13 | sleep 2
|
---|
14 |
|
---|
15 | pushd $gsdl3home/packages/mysql
|
---|
16 |
|
---|
17 | # set up any sample collections databases
|
---|
18 | #gs3mgdemo
|
---|
19 | echo "loading in the gs3mgdemo database"
|
---|
20 | ./bin/mysql --user=root --execute="create database localsite_gs3mgdemo;"
|
---|
21 | ./bin/mysql --user=root localsite_gs3mgdemo < $gsdl3home/web/sites/localsite/collect/gs3mgdemo/mysqldatadump.sql
|
---|
22 |
|
---|
23 | popd
|
---|
24 | ./gs3-mysql-server.sh stop
|
---|
Note:
See
TracBrowser
for help on using the repository browser.