The forum will be unavailable for maintenance at some point from Friday, April 13 at 19:00 EDT until Sunday, April 15 at 23:59 EDT. Downtime will be minimized but the exact timing is unknown.


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/ 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.

asked 14 Jul '17, 16:44

AlK's gravatar image

accept rate: 33%

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.

permanent link

answered 14 Jul '17, 20:23

Mark%20Culp's gravatar image

Mark Culp
accept rate: 40%

Sound of hand slapping forehead! Thanks Mark.

(26 Jul '17, 18:23) AlK
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 14 Jul '17, 16:44

question was seen: 308 times

last updated: 26 Jul '17, 18:23