#3 Usage scripts enahncement

open
nobody
None
5
2007-05-27
2007-05-27
Omry Yadan
No

1. usage scripts does not allow passing of parameters (for example, ./start.sh --skip-innodb).

2. usage scripts does not show the current used command.
I used this inside the start.sh to fix those two things:

CMD="$MYSQLD_SAFE --defaults-file=/home/omry/dev/tools/mysql//mysql-4.0.17/my.sandbox.cnf $1 $2 $3 $4 $5"
echo $CMD
$CMD`> /dev/null 2>&1 &

Discussion