Solved

Where is sql.ini in Sybase ASE 15 windows client?

Posted on 2008-10-27
7
4,622 Views
Last Modified: 2012-06-21
I'm installing Sybase ASE 15 client on a new windows  box, and want to quickly copy my sql.ini entries from a client running Sybase 12.5.   I don't see the file in sybase/ini/ directory.

Is there a way to import the contents of the old sql.ini file or do I have to recreate all the entries by hand?  If so, where is that being written to?  I need to copy the new settings to more clients.

Thank you for your help.

Mirek
0
Comment
Question by:drozdzowski
  • 4
  • 2
7 Comments
 
LVL 19

Expert Comment

by:grant300
ID: 22817277
I believe the directory structures have changed.

On your new machine, go to c:\ and search for sql.ini and see what turn up.  I think you will find they simply moved where it is located.

Regards,
Bill
0
 

Author Comment

by:drozdzowski
ID: 22817404
No help.  The file is not anywhere on C: (that's my only partition).   Here is the sybase directory:

 Directory of C:\sybase

10/27/2008  05:07 PM    <DIR>          .
10/27/2008  05:07 PM    <DIR>          ..
10/27/2008  02:28 PM    <DIR>          AMCP
10/27/2008  02:28 PM    <DIR>          ASE-15_0
10/27/2008  03:04 PM               640 ASE150.bat
10/27/2008  02:40 PM               616 ASE150.env
10/27/2008  02:35 PM    <DIR>          ASEP
10/27/2008  01:46 PM    <DIR>          charsets
10/27/2008  01:53 PM    <DIR>          collate
10/27/2008  02:22 PM    <DIR>          DataAccess
10/27/2008  02:00 PM    <DIR>          DBISQL
10/27/2008  05:07 PM                 0 dir.txt
10/27/2008  01:53 PM    <DIR>          ini
10/27/2008  02:26 PM    <DIR>          jConnect-6_0
10/27/2008  02:25 PM    <DIR>          jutils-2_0
10/27/2008  02:16 PM    <DIR>          locales
10/27/2008  03:12 PM            80,155 log.txt
10/27/2008  01:40 PM    <DIR>          OCS-15_0
10/27/2008  02:40 PM    <DIR>          PCClient
10/27/2008  02:00 PM    <DIR>          Shared
10/27/2008  02:40 PM               600 SYBASE.bat
10/27/2008  02:40 PM               616 SYBASE.env
10/27/2008  02:36 PM    <DIR>          SYSAM-2_0
10/27/2008  02:41 PM    <DIR>          uninstall
10/27/2008  01:39 PM    <DIR>          _jvm
               6 File(s)         82,627 bytes
              19 Dir(s)  64,752,173,056 bytes free
0
 
LVL 6

Expert Comment

by:IncisiveOne
ID: 22817524
c:\sybase\ini\sql.ini on my windoze installation

You can also put it somewhere else (not a good idea) and set your path so that it is found.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 19

Accepted Solution

by:
grant300 earned 500 total points
ID: 22818136
Try firing up the "dsedit" application, create an entry (doesn't matter what) and see if it does not create the file for you in the expected location.

The chances are pretty good you can simply copy the old file to the new system once you figure out what the expected location is.

Do the dsedit trick and then copy the 12.5 file over the top of the v15 one you just created.  It should work fine.  The only difference might be that NLWNSCK may have been deprecated in favor of TCP but that is an easy fix.

Regards,
Bill
0
 

Author Comment

by:drozdzowski
ID: 22822322
There is no Dsedit utility with ASE 15 client for windows.  I did the full install option.

What I have instead is Data Source Administrator.  It works in a different way.  It lists both OLE DB connections (which it allows you to create) and ODBC connections, which I created on Control Panel.

The Data Source Administrator does not write to sql.ini.
0
 

Author Comment

by:drozdzowski
ID: 22822417
found it

dsedit is called Open Client Directory Service Editor in ASE 15

0
 

Author Comment

by:drozdzowski
ID: 22822433
thanks all for the help
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Generating a Format File in Sybase ASE BCP 1 1,136
Sybase conversion 2 63
surrogate key in database world 6 83
How to use a TRY CATCH in Sybase SQL syntax. Or something similar? 1 76
Facing problems with you memory card? Cannot access your memory card? All stored data, images, videos are lost? If these are your questions...than this small article might help you out in retrieving your lost or inaccessible data.
When we talk about DevOps toolchains, I sometimes wonder how many people really get what we’re talking about. I don’t know if it’s just semantics or tone or something else, but sometimes I think it just sounds like buzzword sausage. So it’s always …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
A short film showing how OnPage and Connectwise integration works.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now