gvenzl / oci-oracle-free

Build scripts for Oracle Database FREE container/docker images
Apache License 2.0
113 stars 28 forks source link

SQL client to use for testing? #15

Closed snow6oy closed 11 months ago

snow6oy commented 11 months ago

hi, thanks for providing this image. Everything ran ok on my Apple M1 Mac, until this point.

[gvenzl@localhost init_scripts]$ sql test/test@//localhost/FREEPDB1

As a Postgres user I would write psql instead of sql to start the client and connect to the db. Did you mean to write sqlplus here?

gvenzl commented 11 months ago

Hi @snow6oy,

Thanks a lot for using these images!

I apologize, I was connecting into the container via my locally installed SQLcl, which does come as just a sql binary. However, you are right, SQLcl is not installed inside the container, so the best solution would be to show sqlplus here, which is also available inside the container.

I will fix the ReadMe. Thank you very much for bringing this to my attention.

But for what it's worth, I recommend installing SQLcl locally. I have a simple script over here that I use on my Mac.

snow6oy commented 11 months ago

Happy to help. And thanks for the additional info, heading over to have a look at SQLcl now..