2 # Donot Start CSQL Server
3 # Test 2000 connections in jdbc:gateway
7 TESTFILE
=${PWD}/jdbc
/network
/Gateway
/GwTest1.java
11 REL_PATH
=`pwd`/jdbc
/network
/Gateway
13 export CLASSPATH
=$CLASSPATH:${REL_PATH}
15 cp $CSQL_CONFIG_FILE /tmp
/csql.conf
16 export CSQL_CONFIG_FILE
=/tmp
/csql.conf
17 #export CSQL_CONFIG_FILE=$REL_PATH/csql.conf
18 echo "CACHE_TABLE=true" >>$CSQL_CONFIG_FILE
19 echo DSN
=$DSN >>$CSQL_CONFIG_FILE
20 DS
="$DSN $DBUSER $PASSWORD"
21 rm -f /tmp
/csql
/csqlds.conf
22 touch /tmp
/csql
/csqlds.conf
23 $CSQL_INSTALL_ROOT/bin
/csqlds
-U $DBUSER -P $PASSWORD -D $DSN -N $TDB -a