Why do I see a “Can start server : UNIX Bind : Permission denied” error message when I attempt to start msqld?
This usually occurs because of a permission problem involving the Unix domain socket used by msqld when it communicates with processes on the same host as itself. Under mSQL version 1.x this file is typically /dev/msql or /tmp/msql.sock while under mSQL version 2.x it is typically %I/msql2.sock where %I is a reference to the directory specified by Inst_Dir in the mSQL configuration file. These permission problems usually involve the socket itself or the directory in which it resides. The general rule here is that the directory should have read and write permission for the mSQL root user, and the socket (or named pipe on some operating systems) should be owned by the mSQL root user. (Note: The mSQL root user is the user you specified during the setup stage during the installation of mSQL version 1.x or the user specified in the msql.conf file for mSQL version 2.x). Some operating systems, such as HP-UX 10.x, ship with dr-xr-xr-x permissions on /dev which makes it difficult for msqld to
Related Questions
- I am using svnserve, when I attempt to do a commit to the remote repository I get a Permission denied error. How do I set up user accounts for svnserve?
- I got error message "Server Response: 550 ... Relaying denied\" when trying to send out emails, what could be wrong?
- Why do I see a "Can start server : UNIX Bind : Permission denied" error message when I attempt to start msqld?