
teşekkürler

biraz daha açayım database ve program windows açılışında açılıyor ama tabiki sybase açana kadar program açıyor. hata vermesini istemiyorum.
database exceptionuna bakılabilirde daha iyi bi yöntem vardıır elbet dimi
Google yazdı:>Can anybody tell me another method to check if Sybase server is still
>running or not ? I heard about "probe login". Anybody has any info ?
In the sybase install directory is a program called showserver. You must run
it on the same machine the SQL server is running on. It returns 0 if the
server is running and 1 if it is not. So you could do something like:
$SYBASE/install/showserver > /dev/null
if [ $? -ne 0 ]; then
echo "SQL server not running"
else
echo "SQL server is running"
fi