>> Delete Reply from No. 32531 article
No. RE: [질문] MYSQL 데몬이 제대로 동작을 안합니다.

등록 2001-07-13 01:16:00 By localhost     조회 2
이름 김해동    

		: 아래 내용은 레드헷 리눅스 7.1 배포판과 함께 설치된 MySQL 입니다.
: 그런데, MYSQL을 데몬을 띄울려고 아래의 명령 순서대로 작동하면 데몬이 작
: 동하다가 바로 종료 되어 버립니다.
: 무엇이 문제인지 모르겠습니다.
: -------------------------------------------------
: #> /usr/bin/mysql_install_db
: -------------------------------------------------
: Installing all prepared tables
:
: To start mysqld at boot time you have to copy support-
: files/mysql.server
: to the right place for your system
:
: PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
: This is done with:
: /usr/bin/mysqladmin -u root -p password 'new-password'
: /usr/bin/mysqladmin -u root -h www.lodem.net -p password 'new-password'
: See the manual for more instructions.
:
: NOTE:  If you are upgrading from a MySQL <= 3.22.10 you should run
: the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
: able to use the new GRANT command!
:
: You can start the MySQL daemon with:
: cd /usr ; /usr/bin/safe_mysqld &
:
: You can test the MySQL daemon with the benchmarks in the 'sql-bench'
: directory:
: cd sql-bench ; run-all-tests
:
: Please report any problems with the /usr/bin/mysqlbug script!
:
: The latest information about MySQL is available on the web at
: http://www.mysql.com : Support MySQL by buying support/licenses at https://order.mysql.com :
: -------------------------------------------------
: [root@www lodem]# /usr/bin/safe_mysqld &
: -------------------------------------------------
:
: [1] 1966
: [root@www lodem]# Starting mysqld daemon with databases
: from /var/lib/mysql
: 010607 17:57:36  mysqld ended
:
:
: [1]+  Done                    /usr/bin/safe_mysqld
:
: // 바로 위에 데몬이 뜨는것 같더니 바로 종료 되어 버리더군요.
: // 어떻게 해야 되죠.
: // 아래는 그냥 한번 실행해 본것입니다. 안되는줄 알면서도....!!!!!!
:
: -------------------------------------------------
: [root@www lodem]# /usr/bin/mysql
: -------------------------------------------------
: ERROR 2002: Can't connect to local MySQL server through
: socket '/var/lib/mysql/m
: ysql.sock' (111)
:
: // 고수님들의 도움을 기다리겠습니다.
: // 수고하세요.
:
: --
 : Challenge is success.............!!!!!!!
  답변:
chown mysql.mysql /var/lib/mysql -R
이라고 해보세요^^
 소유권 문제입니다. ^,.^
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved