public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] MySQL + PHP + phpMyAdmin + mysql.sock
@ 2002-01-15 18:57 F. Kooman
  0 siblings, 0 replies; only message in thread
From: F. Kooman @ 2002-01-15 18:57 UTC (permalink / raw
  To: gentoo-dev

phpMyAdmin doesn't work with the default PHP settings of mysql.sock... 
/tmp/mysql.sock doesn't exist, so you have to create a symlink

ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock

Or fix the entry in /etc/httpd/php.ini:

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


Maybe this could be fixed with a compile option?



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-01-15 18:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-15 18:57 [gentoo-dev] MySQL + PHP + phpMyAdmin + mysql.sock F. Kooman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox