[Snort-users] Problem connecting to local mysql with new acid

Guillaume guillaume at ...4029...
Wed Feb 20 01:20:03 EST 2002


>>I receive the following error message:
>>
>>Warning: Can't connect to local MySQL server through socket
>>'/tmp/mysql.sock' (111) in
>>/var/www/html/acid/adodb-mysql.inc.php on line 81
>>localhost

- does this file exist ?
- if yes, what access rights on it ?
- try to launch the mysql server with the --socket option, using a different
directory in whoch mysqld will create its socket file and for which it has
required rights.
- note that you can specify this path in your configuration file (generally
/etc/my.cnf) like that :

[client]
socket=path-for-socket-file

[mysqld]
socket=path-for-socket-file

Guillaume

[ Sent with SquirrelMail -  http://www.squirrelmail.org     ]






More information about the Snort-users mailing list