It appears that an application I've been trying to run (RelataMail/Relata 
   CRM) deletes the mysql.sock from my system.  I'm running Redhat 8.0 with 
   MySQL 4.0.13.  Is there any way to restore the mysql.sock file (eg, from 
   the rpm) without having to rebuild the whole system?  (Reinstalling MySQL 
   didn't help.)

   Creigh


Sounds like you are running applications as root. Very bad.

Otherwise the 'user' that runs RelataMail should not be able to delete
files owned by the 'user' that runs mysqld.  There are dozens of ways
around this problem, the one of the easiest is to set a dedicated user
for mysqld (make an entry in /etc/password similar to the following --
adjusted for your system of course :)

mysql:x:27:27:MySQL:/usr/local/mysql:/bin/bash

and add the 'user' command to my.cnf :

# The MySQL server
[mysqld]
user            = mysql
....

-- 
mysql, query

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to