Search code examples
cygwinsybasesqlanywhere

Nothing is displayed when trying to connect to Sybase SQL Anywhere under CYGWIN


I'm trying to work with dbisql (Sybase SqlAnywhere client) under CYGWIN but the database prompt (shell) is not displayed on screen and then the client exists.

This is how I'm trying to connect

sqlanywhere@win2012r2:  dbisql -c "UID=dba;PWD=sql;DBN=demo;host=10.100.49.124" -nogui

Does anyone know how to solve this one?

Thanks


Solution

  • A simpler solution is to explicitly use 'dbisql.com' rather than 'dbisql', which will invoke 'dbisql.exe' which doesn't work well under Cygwin.