sqlanywhere / sqlanydb

Python driver for SAP Sybase SQL Anywhere
Other
43 stars 20 forks source link

sqlanydb setup with required sybase client #22

Closed ericwhiteau closed 4 years ago

ericwhiteau commented 4 years ago

I am attempting to setup sqlanydb in a Docker container, so I need to install via script. The sqlanydb is no problem as it is just a pip install.

However, that has a dependency on the SqlAnywhere client install. Which needs to also be a silent install.

If I do a UI install you go through several screens and it all works. (never asked for a Key in UI install.)

following the docs on silent setup. (see example from site) I cant install sqlany_client64 without a Key. And I don't have a correct key?

Any pointers to the process/examples.

setup -k NEEDA-REAL0-KEY12-34567-89012 -install sqlany64,sqlany_client64 -ss \ -I_accept_the_license_agreement -name "Joe Jones" -company "SAP AG"

ericwhiteau commented 4 years ago

OK found one. I was providing too many option.

sudo /app/client1201/setup -silent -I_accept_the_license_agreement

Seems to work.

Thanks.