+ Reply to Thread
Results 1 to 2 of 2

SQLplus under cygwin

  1. SQLplus under cygwin

    Hi,

    I am trying to run sqlplus under Cywin command line, but yet it gives
    me permission denied each time.
    I also tried a working user password like sqlplus username/password
    and still got permission denied.
    What I should do to make it work?

    Please help,

    Pawel


  2. Re: SQLplus under cygwin

    ppapro wrote:
    > Hi,
    >
    > I am trying to run sqlplus under Cywin command line, but yet it gives
    > me permission denied each time.
    > I also tried a working user password like sqlplus username/password
    > and still got permission denied.
    > What I should do to make it work?
    >
    > Please help,
    >
    > Pawel
    >


    Sounds like you just need to add the executable bit to sqlplus. I use
    cygwin and sqlplus frequently but don't recall if I ever had to this.

    from the cygwin shell prompt...

    cd $ORACLE_HOME/bin
    chmod 777 sqlplus.exe

    If that works you might consider setting it on all the executables in
    the directory.

    BTW one caveat with sqlplus under cygwin is that because sqlplus.exe is
    a Windows program, it outputs as the end of line character. If
    you try to process any of it's output in cygwin make sure to filter out
    the .

+ Reply to Thread