RE: [PEAR] MDB error on Win2k
| From: | Lukas Smith | Date: | Mon, 04 Aug 2003 12:38:55 +0000 |
| Subject: | RE: [PEAR] MDB error on Win2k | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6989@lists.php.net to get a copy of this message | ||
> From: filip [mailto:filipnetzler@hotmail.com]
> Sent: Monday, August 04, 2003 1:44 PM
> I have installed the pear MDB db abstraction layer, but when i run it,
i
> get:
>
> ERROR [2] connect(MDB/.php): failed to open stream: No such file or
> directory
> Error in line 293 of file E:\xampp\php\pear\MDB.php
> ERROR [2] connect(): Failed opening 'MDB/.php' for inclusion
> (include_path='.;E:\xampp\php\pear')
> Error in line 293 of file E:\xampp\php\pear\MDB.phpMDB Error: not
found
> Unable to include the MDB/.php file
> anyone knows something about this (have tested both 1.13 stable and
1.12
> stable, with latest version of pear and all the other necessary files
mdb
> needs!)
ok, lets keep this discussion on pear-general for now.
I am running MDB on win2k without a problem, so I think its likely to be
a config issue.
In your other post to pear-dev you specified your DSN:
> From: filip [mailto:filipnetzler@hotmail.com]
> Sent: Monday, August 04, 2003 2:35 PM
> $db_type = 'mysql'; // mysql, pgsql, ibase, msql, mssql, oci8, odbc,
> sybase,
> ifx, fbsql
> $db_host = 'localhost'; #sql_server
> $db_usr = 'filip'; #sql_usr
> $db_pwd = 'netzler'; #sql_pwd
> $db_name = 'maxdb'; #sql_db
>
> Connection string:
> $db = &MDB::connect("$db_type://$db_usr:$db_pwd@$db_host/$db_name");
>
> and hence DSN : $db_type://$db_usr:$db_pwd@$db_host/$db_name
that DSN looks alright.
Could you also echo this and check if infact everything is correct?
Gruss,
Lukas