Re: Error with DB

From: Date: Sun, 15 Sep 2002 23:01:53 +0000
Subject: Re: Error with DB
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-15835@lists.php.net to get a copy of this message
Have you opened the db first? I.e. $db = mysql_connect($user, $password, $host); mysql_create_db(databasename, $db); I've tried to do some mysql commands before I connect to the mysql server before... php doesn't like that :) -Dash Death is life's way of telling you you've been fired. -- R. Geis On Sun, 15 Sep 2002, Ishaq Ahmed wrote: > Hello, > > I am using PHP v4.2.2 ( the Latest ) on a windows 2000 system with > IIS 5.0. Everything seems to be working fine i.e. the core PHP and MySQL but > Whenever i try to open ( or create ) a DB file using dba_open, the server > prompts an error that the handler "db2" is invalid. I have also used every > other possible handler i.e. 'dbm,'db','ndm' and etc but every time it > cause > the same error i.e. "The handler is invalid". Also note that i've already > enabled the appropripate extensions in the php.ini file. What's the problem? > > Thanks if u help me.... > > > Bye, > Ishaq > > _________________________________________________________________ > MSN Photos is the easiest way to share and print your photos: > http://photos.msn.com/support/worldwide.aspx > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.windows (#15835) next »