Originally posted by arubin
I can get mysql running with mysqld_safe & if I su to root,
If I try do to this as a user I get
040509 14:51:56 mysqld started
040509 14:51:56 Can't start server : Bind on unix socket: Permission denied
040509 14:51:56 Do you already have another mysqld server running on socket: /var/run/mysql/mysql.sock ?
040509 14:51:56 Aborting
I do not have another server running.
How can I start msqld without having to su?
I'd advise against this. You most likely have this starting at startup, if you don't want it to start up as user root or mysql, you should use another user like nobody to start it that does not have an actual password to the system for better security reasons, etc.
Edit your /etc/rc.d/rc.mysqld scripts to start as another user.