3.23.47 이후 버젼
/usr/local/mysql/bin/safe_mysqld -u mysql &
3.23.47 이전 버젼
/usr/local/mysql/bin/safe_mysqld &
위의 데몬들이 mysql 소켓으 띄운답니다. 위의 메세지도 소켓에러이구
요..
답변이 되었는지 모르겠네요..
그럼 수고하세요..
--
만사 형통 하시길~~
-linux.sarang.net -
추가 부분 - mysql manual -
If you have problems with the fact that anyone can delete the MySQL
communication socket `/tmp/mysql.sock', you can, on most versions of
Unix, protect your `/tmp' file system by setting the sticky bit on
it. Log in as root and do the following
shell> chmod +t /tmp
This will protect your `/tmp' file system so that files can be
deleted only by their owners or the superuser (root).
You can check if the sticky bit is set by executing ls -ld /tmp. If
the last permission bit is t, the bit is set.
You can change the place where MySQL uses / puts the socket file the
following ways
Specify the path in a global or local option file. For example, put
in /etc/my.cnf
[client]
socket=path-for-socket-file
[mysqld]
socket=path-for-socket-file
See section 4.1.2 my.cnf Option Files.
Specifying this on the command line to safe_mysqld and most clients
with the --socket=path-for-socket-file option.
Specify the path to the socket in the MYSQL_UNIX_PORT environment
variable.
Defining the path with the configure option --with-unix-socket-
path=path-for-socket-file. See section 2.3.3 Typical configure
Options.
Re: MYSQL 실행시 에러.. 답변 바래여..
기억이 확실한지 모르겠습니다.
mysql 데몬이 떠있지 않을경우, 그런 메세지가 뜨는걸로 기억됨.
한번 확인해보시겠어요?
Re^2: MYSQL 실행시 에러.. 답변 바래여..
mysql 데몬이 떠있지 않은 상태입니다.
mysql 버젼이 잘 생각이 안나는데 ^^;;
3.23.47부터는 mysql 사용자로 데몬을 띄우시면 되고
그 이전버젼이면 그냥 띄우시면 될꺼에요..
데몬은 설치하신 디렉토리가 /usr/local/mysql이라면
3.23.47 이후 버젼
/usr/local/mysql/bin/safe_mysqld -u mysql &
3.23.47 이전 버젼
/usr/local/mysql/bin/safe_mysqld &
위의 데몬들이 mysql 소켓으 띄운답니다. 위의 메세지도 소켓에러이구
요..
답변이 되었는지 모르겠네요..
그럼 수고하세요..
--
만사 형통 하시길~~
-linux.sarang.net -
추가 부분 - mysql manual -
If you have problems with the fact that anyone can delete the MySQL
communication socket `/tmp/mysql.sock', you can, on most versions of
Unix, protect your `/tmp' file system by setting the sticky bit on
it. Log in as root and do the following
shell> chmod +t /tmp
This will protect your `/tmp' file system so that files can be
deleted only by their owners or the superuser (root).
You can check if the sticky bit is set by executing ls -ld /tmp. If
the last permission bit is t, the bit is set.
You can change the place where MySQL uses / puts the socket file the
following ways
Specify the path in a global or local option file. For example, put
in /etc/my.cnf
[client]
socket=path-for-socket-file
[mysqld]
socket=path-for-socket-file
See section 4.1.2 my.cnf Option Files.
Specifying this on the command line to safe_mysqld and most clients
with the --socket=path-for-socket-file option.
Specify the path to the socket in the MYSQL_UNIX_PORT environment
variable.
Defining the path with the configure option --with-unix-socket-
path=path-for-socket-file. See section 2.3.3 Typical configure
Options.
댓글 달기