I installed the drupal vad package, and I'm pretty sure I have the right
connection string in settings.php
<code>
$db_url = 'odbc://dba:dba@Virtuoso/drupal';
$db_prefix = 'drupal.drupal.';
</code>
'Virtuoso' being a system data source using the driver 'Virtuoso (Open
Source') -- working fine in a .Net application.
The error that Drupal throws is:
<pre>
Warning: odbc_connect() [function.odbc-connect]: SQL error:
[Microsoft][ODBC Driver Manager] Data source name not found and no
default driver specified, SQL state IM002 in SQLConnect in C:\Program
Files\virtuoso-opensource\vsp\vad\vsp\drupal\includes\database.odbc.inc
on line 63
</pre>
I figured out that maybe PHP wouldn't be able to read a system DNS, so I
set up another data source in the user DNS' section. Same results.
Actually, where is the PHP interpreter? Is it all contained in
hosting_php.dll / libphp5.dll? I have a PHP5 installation on my
computer, but is it using it at all?
Thank you,
ericdes
Configuration:
- OpenLink Virtuoso (Open Source edition)
- Version: 05.11.3039 (Win32) installed from binaries
- Platform: Vista Ultimate 32 bits