질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

Mysql_install_DB 설치오류가나요~~

작성자 정보

  • 윤상진 작성
  • 작성일

컨텐츠 정보

본문

Mysql_install_DB 했는데 data 디렉토리가 생성이 안됩니다.<br />
<br />
[root@www /usr/local/mysql/bin]# ./mysql_install_db<br />
chown: `mysql': invalid user<br />
Installing all prepared tables<br />
071204 21:17:00 [ERROR] Fatal error: Can't change to run as user 'mysql' ; Please check that the user exists!<br />
<br />
071204 21:17:00 [ERROR] Aborting<br />
<br />
071204 21:17:00 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete<br />
<br />
Installation of system tables failed!<br />
<br />
Examine the logs in /var/lib/mysql for more information.<br />
You can also try to start the mysqld daemon with:<br />
/usr/local/mysql/libexec/mysqld --skip-grant &<br />
You can use the command line tool<br />
/usr/local/mysql/bin/mysql to connect to the mysql<br />
database and look at the grant tables:<br />
<br />
shell> /usr/local/mysql/bin/mysql -u root mysql<br />
mysql> show tables<br />
<br />
Try 'mysqld --help' if you have problems with paths. Using --log<br />
gives you a log in /var/lib/mysql that may be helpful.<br />
<br />
The latest information about MySQL is available on the web at<br />
http://www.mysql.com<br />
Please consult the MySQL manual section: 'Problems running mysql_install_db',<br />
and the manual section that describes problems on your OS.<br />
Another information source is the MySQL email archive.<br />
Please check all of the above before mailing us!<br />
And if you do mail us, you MUST use the /usr/local/mysql/bin/mysqlbug script!<br />
<br />
아 완전 모르겠어요 몇시간동안 씨름하고 있는건지...... 좀 도와주세요~~~ 다른분들은 이런오류 안나나봐요~~ 질문내용 찾아봐도 이런 내용은 전혀 없네요... <br />
<br />
책보고 따라하는데 왜이리 걸림돌이 많은지.... 책내용대로 잘안되네요... 빨리 좀 도와주세요 부탁드립니다.

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,041 명
  • 현재 강좌수 :  35,855 개
  • 현재 접속자 :  118 명