Re: semi-newbie | php, mysql & RH Enterprise
| From: | Evan Cooch | Date: | Sat, 01 Jan 2005 16:21:59 +0000 |
| Subject: | Re: semi-newbie | php, mysql & RH Enterprise | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-37941@lists.php.net to get a copy of this message | ||
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...