Re: installing MySQL with PHP4.0.3pl1

From: Date: Tue, 13 Feb 2001 22:32:05 +0000
Subject: Re: installing MySQL with PHP4.0.3pl1
References: 1  Groups: php.db php.general 
Request: Send a blank email to php-db+get-6584@lists.php.net to get a copy of this message
> I'm trying to get MySQL to work with php, however I'm running php on a WinNT > box and I was wondering if I needed to install MySQL in a specific location > on the hard drive? The reason I as is that when I try to connect to a > database I create in MySQL in php it doesn't find any database. I'm totally > lost on this and don't have a clue as what to do. Any help will be greatly > appreciated. If you pick a directory other than the default, I think you need to create a file called my.cnf in the root of C: indicating where mysql is. Mine looks like this: [mysqld] basedir = e:/mysql/ I needed to do this before mysqld would even start. - Darryl ---------------------------------------------------------------------- Darryl Friesen, B.Sc., Programmer/Analyst Darryl.Friesen@usask.ca Education & Research Technology Services, http://gollum.usask.ca/ Department of Computing Services, University of Saskatchewan ---------------------------------------------------------------------- "Go not to the Elves for counsel, for they will say both no and yes"

« previous php.db (#6584) next »