Am Mittwoch, 25. April 2001 12:51 schrieben Sie:
> > root@locutus:/usr/lib/php/extensions/no-debug-non-zts-20001214 > ls
> > midgard.so
>
> It lives in the _correct_ directory -- where would you put PHP4
> extensions else? Actual name (no-debug-non-zts-20001214) comes from
> PHP4 and describes that it was compiled without debugging
> information, without thread-safe Zend engine and API version dated
> 2000-12-14.
OK, I just didn't understand the complex directory naming.
> Check whether /var/lib/mysql/mysql.sock is actually there. It might
> be problem with SuSE MySQL package (common error when my.cnf points
> server to put socket somewhere at /tmp but clients look for it at
> /var/lib/mysql).
mysql.sock WAS in /tmp in former suse distribs, they moved it to
var/lib/mysql sometimes around V7.0 (or 6.4?). Well, I have
/var/lib/mysql.sock. I can connect to the db from the shell (mysql -u
midgard -p midgard) But any time I connect to ANY php project with a
loaded midgard.so, I get in httpd/error_log
[Wed Apr 25 20:53:47 2001] [debug] mod_midgard.c(1195): [client
192.168.0.1] midgard_translate_handler(latin1,
http://locutus:80/index.html)
midgard-lib: mgd_connect to midgard@midgard failed: Can't connect to
local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)[Wed
Apr 25 20:53:47 2001] [warn] [client 192.168.0.1] Midgard: failed to
open midgard for midgard
Philipp had no idea with this, through IRC we just checked the libs and
linkings for mysql and libmidgard, all fine.
Thomas
--
-------------------------------------------------------
Thomas M. ROTHER - "netzwissen" - D-73728 Esslingen
F.R. Germany/EU
- http://www.netzwissen.de (Updated!)
Public PGP Key available from http://www.keyserver.net
-------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]