Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

I would like the information if sybase 9 64bits accepts the connection string and, What would be the correct string for the connection?

asked 25 Jun '21, 08:53

Walmir%20Taques's gravatar image

Walmir Taques
690374151
accept rate: 12%

edited 28 Jun '21, 11:53


I'm not sure what you mean by "the correct string" since there is an infinite variety of possible connection strings.

Here's a Windows 10 command file that works to create, start and connect to a SQL Anywhere 9 database via ISQL...

"%ASANY9%\win32\dbinit.exe"^
  -p 4096^
  -s^
  ddd9.db

"%ASANY9%\win32\dbspawn.exe"^
  -f^
  "%ASANY9%\win32\dbsrv9.exe"^
  -c 100M^
  -o dbeng9_log_ddd9.txt^
  -os 10M^
  -x none^
  -zl^
  ddd9.db 

"%ASANY9%\win32\dbisql.exe"^
  -c "ENG=ddd9;DBN=ddd9;UID=dba;PWD=sql;CON=ddd9-1"

"%ASANY9%\win32\dbisql.exe"^
  -c "ENG=ddd9;DBN=ddd9;UID=dba;PWD=sql;CON=ddd9-2"

pause
permanent link

answered 25 Jun '21, 17:12

Breck%20Carter's gravatar image

Breck Carter
32.5k5417261050
accept rate: 20%

edited 25 Jun '21, 17:25

Thanks!@Breck Carter

I was trying to connect an application to Sybase 9, it worked using the following string:

**Driver=Sql Anywhere 17;ENG=XXXXX;UID=dba;PWD=XXXXXX;DBN=XXXXX;**

I don't have ASA 9 in 64bits, for that reason I used ASA 17.

(28 Jun '21, 11:47) Walmir Taques
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:

×159

question asked: 25 Jun '21, 08:53

question was seen: 659 times

last updated: 28 Jun '21, 11:53