Re: Darwinports Apache2/PHP5 & Tiger Mysql??

Joe Auty <[email protected]> Tue, 29 Aug 2006 16:45:41 -0400
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
On Aug 29, 2006, at 4:02 PM, Mark Duling wrote:

> Nat <[email protected]> writes:
>> After using Tiger's built-in Apache, PHP & Mysql for some time, I've
>> installed Apache2 & PHP5 with Darwinports.  I'm hoping that I can use
>> them to access the built-in  Mysql databases I've  already been  
>> working
>> with .  But I can't figure out how to see them.  Can anyone help?
>
> Check to make sure that your php.ini has the correct  
> mysql.default_socket
> parameter for the MySQL you are using.  For DP's MySQL it is:
>
> mysql.default_socket = /opt/local/var/run/mysql5/mysqld.sock
>


Yes, I struggled with that... I should check up to see if the mysql4  
and mysql5 ports ever ended up installed a my.cnf file that points to  
this socket, as this was also something I struggled with in the past.