Hi John,
Let’s see if we can get your SA9 installation to behave properly ![Smile :-)]()
john.allen:
- The message about the missing libraries still comes up of course when starting Sybase Central. Is that OK?
This message is OK. It only happens when running SQL Anywhere 9 on the Mac Intel, but you may ignore this message.
john.allen:
2) The ‘dblocate’ file is located in /Applications/SQLAnywhere9/System/bin32/. cd’d there via Terminal. Then tried to run it and got this:
[onc-qpr:SQLAnywhere9/System/bin32] john% ./dblocate
dyld: Library not loaded: libdbtool9_r.dylib
Referenced from: /Applications/SQLAnywhere9/System/bin32/dblocate
Reason: image not found
Trace/BPT trap
[onc-qpr:SQLAnywhere9/System/bin32] john%
However I'm not sure I need to use this as I was able to connect at least partially (see below)
This happens when you do not source the SQL Anywhere script (the utility is unable to find the lib path). When you open the command prompt, source the file /Applications/SQLAnywhere9/System/bin32/asa_config.sh. After this, you can run dblocate. BTW, you can also run Sybase Central right from there. The binary name is “scjview”.
john.allen:
3) Tried connecting from Sybase Central as follows:
- Clicked on the connect button and selected ‘Adaptive Server Anywhere 9’
- On the ‘Identification’ tab entered the User ID and the Password
- Then on the ‘Database’ tab entered ‘localhost:2638’ for ‘Server name’
- Went to the ‘Advanced’ tab, chose jConnect5 and entered ‘name=servoy_repository’
This works fine up to a point. It connects to the servoy_repository server and opens the servoy_repository database and, as usual, shows the other databases running under that server with a red x in their icon. Normally you just click on the ‘arrow’ to the left of those icons, the connect screen comes up again, you click OK and that database opens up to allow you to add columns, tables etc. However with this I have been unable to open up the other databases which are of course the ones I want to work on. If I click the little arrow, the open connection dialog comes up as expected but after hitting OK I’m told ‘already connected’ to that database. I am of course ‘connected’ but I can’t ‘open’ the database to access the tables and columns! I also tried under the ‘Advanced’ tab to add all the names of the databases I want to access as it suggests, i.e.
name=servoy_repository
name=kidney
and so on.
Nothing works to access/open up the actual databases I want to work on. What am I doing wrong?
Thanks for your help.
The problem here is that you are typing “name=servoy_repository” in the options box. Please leave the box empty, and follow the same procedure you described above. By default, Sybase Central will connect to servoy_repository. You will also see the other dbs, but this time the connection should be successful.
Hopefully this gets you up and running smoothly now!
Thanks,
Jose