Re: password in md5 to connect to mysql instead of clear password

From: Date: Mon, 28 Feb 2005 11:57:06 +0000
Subject: Re: password in md5 to connect to mysql instead of clear password
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-38701@lists.php.net to get a copy of this message
On Monday 28 February 2005 19:33, Simon Rees wrote: > You said in that post: "Set default MySQL user and password in your > virtual host container. Then connect to MySQL without specifying user > and password." > > Presumably the file which contains the virtual host directive is > readable by the process the webserver is running as - if not how does > this work? When Apache starts up it does so as root and thus has the necessary privileges to read those files. After it has read all its config files it drops root privileges and assumes which whichever user you have configured httpd to run as. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-db ------------------------------------------ New Year Resolution: Ignore top posted posts

« previous php.db (#38701) next »