>When I go to that directory and do a   ls -al  it is empty.  So how do I 
>create this file.  If it is not specific to my system can someone just 
>mail me one.  I'm doing all this as root - do I need special permissions 
>to this dir and file.

mysql.sock usually lives in /tmp and is created when mysqld starts.

I'm usually starting mysqld from the location where I install it.

I (and anyone else) would recommend running mysqld as another user.. like 
mysql.. running mysqld as root is a bad idea. Please read the manual.txt in 
/Docs.. found in your sourcedir. Or the manual found at www.mysql.com form 
more info.

This is a common problem.. please check the archive for more info.

To answer your next question: change the location of mysql.sock in you 
php.ini :-)
But that's only after installing mysql, PHP and Apache.

Bye,


B.


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to