View previous topic :: View next topic |
Author |
Message |
Hellzone Apprentice


Joined: 23 May 2003 Posts: 167
|
Posted: Sat May 31, 2003 10:31 am Post subject: Mysqld problems |
|
|
I've tried to emerge mysqld and i can't seem to get it working.
I get the following error in the error log
Code: | 030531 17:53:14 mysqld started
Warning: Ignoring user change to 'mysql' because the user was set to 'mysql' ea\
rlier on the command line
030531 17:53:14 Can't start server : Bind on unix socket: Permission denied
030531 17:53:14 Do you already have another mysqld server running on socket: /\
var/run/mysqld/mysqld.sock ?
030531 17:53:14 Aborting
030531 17:53:14 /usr/sbin/mysqld: Shutdown Complete
030531 17:53:14 mysqld ended |
|
|
Back to top |
|
 |
Lomendil n00b

Joined: 22 Jan 2003 Posts: 16
|
Posted: Sat May 31, 2003 7:23 pm Post subject: |
|
|
It looks like you are having permission problems. mysqld is running as user 'mysql'. I would make sure that /var/run/mysqld is owned by that user. The directory entry should look vaguely like this:
Code: | drwxr-xr-x 2 mysql mysql 4096 May 19 19:14 /var/run/mysqld |
_________________ This is my .sig |
|
Back to top |
|
 |
|