Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mysqld problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Hellzone
Apprentice
Apprentice


Joined: 23 May 2003
Posts: 167

PostPosted: Sat May 31, 2003 10:31 am    Post subject: Mysqld problems Reply with quote

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
View user's profile Send private message
Lomendil
n00b
n00b


Joined: 22 Jan 2003
Posts: 16

PostPosted: Sat May 31, 2003 7:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum