The forum will be down for scheduled maintenance on Saturday, March 4 beginning at 10am EST. Actual downtime is unknown but may be several hours.

Hello,

Im running SQL AnyWhere 11 (SQL Anywhere Network Server Version 11.0.1.2331) on Windows 7 Professional 64bit and I have a problem with connecting DB with PHP (PHP 5.2.14).

PHP raises this error: SQLAnywhere: [-100] Database server not found in ...

I have tryed to run SQLAnyWhere in 32bit, change PHP extension, etc. but without any success.

Could anybody help?

asked 12 Aug '10, 13:18

MrkEw's gravatar image

MrkEw
21111
accept rate: 0%

edited 13 Aug '10, 01:22

Calvin%20Allen's gravatar image

Calvin Allen
1.5k232638


The error message you are getting indicates that the SA PHP driver was loaded successfully and that the driver can locate the SA installation files correctly.

Since your problem description is general, I am going to throw some questions at you and maybe that will help you isolate the source of the problem:

  • Are you able to connect with regular tools such as dbisql?
  • Is this problem specific to Windows 7? Has your SA+PHP installation worked on a Windows XP/Vista installation? Are both the client and the server on the same machine?
  • If you dump the output of php_info() or php -i to a file, do you see the correct SA version numbers in the SQLAnywhere extension section?
  • Have you tried to connect through different connection protocols? shared memory, tcpip? Do you get the same error in all cases?
permanent link

answered 12 Aug '10, 15:20

Mohammed%20Abouzour's gravatar image

Mohammed Abo...
82645
accept rate: 33%

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:

×46
×36
×15

question asked: 12 Aug '10, 13:18

question was seen: 4,952 times

last updated: 13 Aug '10, 01:22