> [root@coolnis-ar mysql]# more my.err
> 020312 15:56:40  mysqld started
> 020312 15:56:40  Can't start server : Bind on unix socket: Permission denied
> 020312 15:56:40  Do you already have another mysqld server running on 
> socket: /var/lib/mysql/mysql.sock ?
> 020312 15:56:40  Aborting
> 
> 020312 15:56:40  /usr/local/mysql/bin/mysqld: Shutdown Complete
> 
> 020312 15:56:40  mysqld ended
> 
> Any suggestions ?

Be shure you don't have any mysqld running:

# ps auxw | grep mysqld

If you have, kill all processes (i don't think you have).
I believe you don't have permission to create mysql.sock.
Find where mysql would create the socket:

# my_print_defaults mysqld | grep socket
--socket=/var/lib/mysql/mysql.sock

or

# /usr/sbin/mysqld --help | grep socket
--socket=...          Socket file to use for connection
Unix socket: /var/lib/mysql/mysql.sock

and check the user "mysql" permissions to write on the directory found.
In this case, you should check permissions /var/lib/mysql. 
Al least, you should have:

# ls -ld /var/lib/mysql/
drwxr-xr-x   10 mysql    mysql        4096 Mar 12 10:39 /var/lib/mysql/

Don't forget to substitute /var/lib/mysql by your directory.


-- 
dsoares
(sql)

---------------------------------------------------------------------
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