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.

asked 14 Jul, 16:44

AlK's gravatar image

AlK
3901527
accept rate: 50%


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, 20:23

Mark%20Culp's gravatar image

Mark Culp
23.2k9132272
accept rate: 40%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×22

question asked: 14 Jul, 16:44

question was seen: 44 times

last updated: 14 Jul, 20:23