cancel
Showing results for 
Search instead for 
Did you mean: 

iSQL error and won't run under Ubuntu 16.0.4

0 Kudos
2,045

Hello,

I am running an Ubuntu 16.0.4 host for a SQL Anywhere v17 server. I am trying to run iSQL but failing. Here are the two commands:

ubuntu@ip-172-26-8-253:~/SQL Anywhere Scripts$ source /opt/sqlanywhere17/bin64/sa_config.sh ubuntu@ip-172-26-8-253:~/SQL Anywhere Scripts$ dbisql -c "UID=dba;PWD=<passwd>;SERVER=<servername>;DBN=<dbname>"

Here is the error:

The DISPLAY environment variable is not set. It must be set for Interactive SQL to operate correctly.

What am I doing wrong here?

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

MarkCulp
Participant

Dbisql is a GUI application and needs to use your xwindow display. As the error message states, you need to set the DISPLAY environment variable in the shell before you run dbisql.

0 Kudos

Sound of hand slapping forehead! Thanks Mark.

Answers (0)