Skip to Content
0
Dec 24, 2018 at 08:19 PM

sasql_connect(): SQLAnywhere: [-100] Database server not found

895 Views

hello dear friends

it's about more than one full day that i started sqlanywhere and i'm so interested to use it,

i worked before with sqlsrv for ms sql server and connection via php ,

but i have problem for connecting php to sqlanywhere

here is the warning message when i try to run test.php

-------------------------------------------------------------------------------------------------------------

Installation successful Using php-5.6.0_sqlanywhere.dll
Warning: sasql_connect(): SQLAnywhere: [-100] Database server not found in C:\xampp\htdocs\test.php on line 44
Connection failed

-------------------------------------------------------------------------------------------------------------

I'm using xampp server php 5.6 and sqlanywhere 17 developer edition

already i downloaded the php extension and copied on ext

demo database i ran it with cmd : dbeng17 "%SQLANYSAMP17%\demo.db"

please someone tell me what is problem ?