From: | "F. Kooman" <fkooman@×××××.net> |
---|---|
To: | gentoo-dev@g.o |
Subject: | [gentoo-dev] MySQL + PHP + phpMyAdmin + mysql.sock |
Date: | Tue, 15 Jan 2002 12:56:28 |
Message-Id: | 20020115185727.3D90E567E4@mail.zeelandnet.nl |
1 | phpMyAdmin doesn't work with the default PHP settings of mysql.sock... |
2 | /tmp/mysql.sock doesn't exist, so you have to create a symlink |
3 | |
4 | ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock |
5 | |
6 | Or fix the entry in /etc/httpd/php.ini: |
7 | |
8 | ; Default socket name for local MySQL connects. If empty, uses the built-in |
9 | ; MySQL defaults. |
10 | mysql.default_socket = /var/run/mysqld/mysqld.sock |
11 | |
12 | |
13 | Maybe this could be fixed with a compile option? |