Re: semi-newbie | php, mysql & RH Enterprise

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

 



Nice to see I'm not the only one working on Saturday. :-)

Some followups embedded below.


> OK, so I try again, this time using --with-mysql=/usr/bin/mysql - no luck.
> Same message.

You need to install the mysql-devel package.


Hmmm...OK. Why? (just for my understanding). Again, never had this problem with RH7.3...



> So, how do I either (i) compile PHP (or tweak php.ini) to tell it to look
> in /var/lib/mysql for the mysql.soc file, or (2) tell mySQL to put the
> mysql.sock file somewhere else (like, presumably, /tmp, so PHP can find
> it)?

Did you actually look in your php.ini? Because there is an entry there just
for this purpose.

I did, and saw several (many!) options related to mySQL, but wasn't sure what to do with them. The one that seems most related to the 'socket' issue is

; Default socket name for local MySQL connects.  If empty, uses the built-in
; MySQL defaults.
mysql.default_socket =

Do I simply change this to

mysql.default_socket=/var/lib/mysql


Thanks again...


-- 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