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

mysql 5.6.X 설치오류 관련질문입니다.

작성자 정보

  • 피케이샷 작성
  • 작성일

컨텐츠 정보

본문

오류1  ./mysql_install_db --user=mysql --basedir=/download/mysql --datadir=/free/mysql_data  << 명령어

WARNING: The host 'PK' could not be looked up with /download/mysql/bin/resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !

FATAL ERROR: The parent directory for the data directory '/free/mysql_data' does not exist.
If that path was really intended, please create that directory path and then
restart this script.
If some other path was intended, please use the correct path when restarting this script.


오류2
 cmake -DCMAKE_INSTALL_PREFIX=/down/mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITH_EXTRA_CHARSETS=all -DMYSQL_DATADIR=/free/mysql_data -DMYSQL_USER=mysql -DMYSQL_TCP_PORT=3306


Manually-specified variables were not used by the project:

    MYSQL_USER

오류3
Installing MySQL system tables...2014-08-27 14:23:07 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-08-27 14:23:07 39746 [ERROR] Fatal error: Can't change to run as user 'mysql' ;  Please check that the user exists!

2014-08-27 14:23:07 39746 [ERROR] Aborting

2014-08-27 14:23:07 39746 [Note] Binlog end
2014-08-27 14:23:07 39746 [Note] /download/mysql/bin/mysqld: Shutdown complete

오류4 

WARNING: The host 'PK' could not be looked up with /download/mysql/bin/resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MySQL version. The MySQL daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MySQL privileges !



위에 오류때문에 골이 깨질거같습니다. 
mysql 설치전에 mkdir -p  /free/mysql_data 와 useradd mysql  두개먼저 만들고 mysql 설치해야하나요?
참고사이트를 보면 mysql 설치후 위 작업을 해주더라구요...
http://www.koreaidc.com/abroadserver/bbs/set_view.php?b_name=idcpds&w_no=152 <<참고사이트 URL입니다.. 도와주세요!!

관련자료

댓글 2

눈여울님의 댓글

  • 눈여울
  • 작성일
mysql 사용자 추가해주시고
/free 디렉토리를 만들어주고 해보세요

피케이샷님의 댓글

  • 피케이샷
  • 작성일
사용자 추가도 해보고 디렉터리를 만들어봐도
오류2번만 계속 나옵니다 ㅠㅠ

공지사항


뉴스광장


  • 현재 회원수 :  60,279 명
  • 현재 강좌수 :  36,956 개
  • 현재 접속자 :  364 명