For Programmers: Free Programming Magazines  


Home > Archive > Smalltalk > December 2007 > Db connection using Mac (intel) Oracle Instant Client - Glorp









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Db connection using Mac (intel) Oracle Instant Client - Glorp
Michael

2007-12-11, 4:28 am

I am having trouble connecting to a Oracle express database from my
MAC

The following code snipped works fine on a Windows machine but seems
to choose the wrong interface on a Mac

login := (Glorp.Login new)
database: Glorp.OraclePlatform new;
username: 'esis_patches';
password: 'abc';
connectString: 'XE'.
accessor := Glorp.DatabaseAccessor forLogin: login.
accessor login.

I have installed the Orace Instant client and to the best of my
knowledge it
works. At least sqlplus works.

Can any tell me how to modify it?

Thanks!
Michael

2007-12-17, 7:22 pm

I am using VW 7.5NC.

On Dec 10, 11:05 pm, Michael <michael_atkis...@comcast.net> wrote:
> I am having trouble connecting to a Oracle express database from my
> MAC
>
> The following code snipped works fine on a Windows machine but seems
> to choose the wrong interface on a Mac
>
> login := (Glorp.Login new)
> database: Glorp.OraclePlatform new;
> username: 'esis_patches';
> password: 'abc';
> connectString: 'XE'.
> accessor := Glorp.DatabaseAccessor forLogin: login.
> accessor login.
>
> I have installed the Orace Instant client and to the best of my
> knowledge it
> works. At least sqlplus works.
>
> Can any tell me how to modify it?
>
> Thanks!


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com