on 08-03-2017 3:31 PM
In windows, the environment variables, including SYBASE HOME, are located in the following files:
SYBASE.bat
SYBASE.ini
These files are located in HOME.
Now it says there
Set SYBASE = C: \ isql
Now home for isql and for bases does not match and when I try to connect to the database via isql I get the following error:
CT-LIBRARY error:,
ct_connect(): directory service layer: internal directory control layer error: Requested server name not found.
Help please, how to achieve connection through isql?
Hi,
Here are the steps:
1. open cmd prompt
2. Go to your sybase install
cd %SYBASE%
3. set environment variables
SYBASE.bat
4. isql -Usa -Sasename
isql -Usa -Spvrh
or
isql -Usa -Sasehost:aseport
isql -Usa -Sjuniper:1234
If you want to use the asename you need to update the %SYBASE%\ini\sql.ini file
Example:
[pvrh]
master=tcp,juniper,1234
query=tcp,juniper,1234
Regards,
Ryan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.