* ger ([EMAIL PROTECTED]) [Dec 27. 2001 20:05]: > Does anybody know what is my problem ?
> I try to access to my mysql database and I get the next errror : > " Can't connect trough /var/lib/mysql/mysql.sock " I'm sure you've checked to see if the mysql server is running.. The socket should be owner:group mysql (or whatever user you set up to run the mysql server). Are you trying to access it via PHP or just the command line? If it's PHP, you could try altering mysql.default_socket in your php.ini to what mysql expects. Run mysqladmin and check to see where the socket is: mysqladmin -u root -p[password] variables Replace [password] with your real password. Otherwise, you can set it by altering $MYSQL_UNIX_PORT in your safe_mysqld script, or in whatever file you're using to start mysqld, to please PHP, but it may break other applications that depend on it being somewhere else. Check those scripts, they're probably defining the socket in there somewhere. -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 UNIX: measuring in inconvenient units since 57,974,400! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]