Matt,
Thursday, September 05, 2002, 9:33:25 AM, you wrote:
MTW> On Wed, 2002-09-04 at 04:42, Victoria Reznichenko wrote:
>> 1. Check [MySQL] section of the php.ini, you can find
>> mysql.default_socket here.
MTW> This value is empty, indicating a default port
You can specify location of the socket file here.
>> 2. You can specify another path to the socket file for the MySQL
>> server with --socket=# mysqld option.
MTW> How can I tell what ports its using now?
SHOW VARIABLES LIKE "port"
MTW> I'd like to stick with
MTW> defaults...
default port 3306
>> 3. You can just create a symbolic link
MTW> How does one accomplish this? I'm not sure how a symlink will help this
MTW> problem..
Why not?
You socket file is located in the /var/lib/mysql. Your client (php
script) is looking for the socket file in the /tmp dir. So, you can
"notify" client where socket file is located (php.ini), you can run
mysqld with --socket=/tmp/mysql.sock option or you can create symlink.
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ Victoria.Reznichenko@stripped
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com