> mysql 설치를 하다가 setup 파일만드는 과정인
>
> ./scripts/mysql_install_bd 를 실행 하니까
>
> 아래처럼 이상한 메세지가 나오거든요.
>
> mysql의 패스워드를 입력시키라는 명령인지.. 암튼 몰라서 물어봅니다..
>
> +++++++++++++++++++++++++++++
>
> ERROR : 1062 Duplicate entry 'localhost-root' for key 1
> ERROR : 1062 Duplicate entry 'localhost-root' for key 1
>
> Tostart mysql at boot time you to copy support-file/mysql.server to the login
> ......
>
> PLEASE REMEMBER TO SET A PASSWORD FOR THE MYSQL root USER!
> this is done with:
>
> ./bin/mysql admin - u root password 'newpassword'
>
> ......
>
> see the manual for more instructions.
> please report any problems with the ./bin/mysqlbug script!.....
>
아무래도 기존에 MySQL이 설치 되어 있었던거 같은데요 위의 에러는 primary key즉 서로 다른 값을 가지는 column에 같은 값을 넣는다는 메시지 인데요 아마 기존에 MySQL이 설치가 되었고 mysql_install_db도 실행 한 상태인거 같은데요 아마 사용하시는데 문제는 없을 듯 싶습니다 그리고 아래 Password는 MySQL 의 Super user인 root의 Password를 설정하라는 메시지이구요 에러는 아닙니다
|