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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux