37 |
|
|
38 |
|
echo "+++ Start up CMS MySQL daemon on port ${MYSQL_PORT} ..." |
39 |
|
$MYSQL_ROOT/bin/mysqld_safe --datadir=$MYSQL_PATH --port=$MYSQL_PORT \ |
40 |
< |
--socket=$MYSQL_SOCK --log-error=$MYSQL_ERR --skip-networking --pid-file=$MYSQL_PID & |
40 |
> |
--socket=$MYSQL_SOCK --log-error=$MYSQL_ERR --pid-file=$MYSQL_PID & |
41 |
> |
#--socket=$MYSQL_SOCK --log-error=$MYSQL_ERR --skip-networking --pid-file=$MYSQL_PID & |
42 |
|
sleep 10 |
43 |
|
|
44 |
|
# create CMS MySQL root account |
45 |
|
echo "+++ Creating MySQL default root account ..." |
46 |
|
$MYSQL_ROOT/bin/mysqladmin --port=$MYSQL_PORT --socket=$MYSQL_SOCK -u root password "cms" |
47 |
< |
# $MYSQL_ROOT/bin/mysqladmin --port=$MYSQL_PORT --socket=$MYSQL_SOCK -u root -h `hostname` password "cms" |
47 |
> |
$MYSQL_ROOT/bin/mysqladmin --port=$MYSQL_PORT --socket=$MYSQL_SOCK -u root -h `hostname` password "cms" |
48 |
|
|
49 |
|
# create CMS MySQL DBS account |
50 |
|
echo "+++ Creating MySQL default dbs account ..." |