Just set "skip-networking" in /etc/mysql/my.cnf.  Under the [mysqld] section.

I have no idea about the PHP thing.  I would just have it use localhost 
myself.

Bret.



On Thursday 22 August 2002 03:55 pm, Austad, Jay wrote:
> Anyone know how to make mysql only listen on 127.0.0.1?
>
> Also, does anyone know how to make a PHP script use mysql over a Unix
> socket connection?
>
> Jay
> _______________________________________________
> Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul,
> Minnesota http://www.mn-linux.org
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list

-- 
Bret Baptist
Systems and Technical Support Specialist
bbaptist at iexposure.com
Internet Exposure, Inc.
http://www.iexposure.com
 
(612)676-1946 x17
Web Development-Web Marketing-ISP Services
------------------------------------------


Today is the tomorrow you worried about yesterday.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x2ADA502C.asc
Type: application/pgp-keys
Size: 1412 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20020822/34cc0163/0x2ADA502C.key