cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with connection sqlanywhere 11 with PHP 5.2.14 on Windows 7 46 bit

Former Member
7,175

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member

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?