설치를 mysql 이라는 계정으로 하신 모양이로군요.
처음 ./configure 시에 --prefix=/usr/local/mysql 이라는 옵션을 주고 하시기 바랍니다.
그리고 /usr/local/mysql 이라는 디렉토리를 만들고 그 소유를 mysql.mysql 로 해 주고 나서 기존의 과정을 반복해 보시기 바랍니다.
::-_-;; 님께서 쓰시길::
> mkdir: 디렉토리 `/usr/local/var/mysql'를 만들 수 없습니다: 허가 거부됨
> chmod: /usr/local/var/mysql: 허가 거부됨
> mkdir: 디렉토리 `/usr/local/var/test'를 만들 수 없습니다: 허가 거부됨
> chmod: /usr/local/var/test: 허가 거부됨
> Creating db table
> Creating host table
> Creating user table
> Creating func table
> Creating tables_priv table
> Creating columns_priv table
> /usr/local/libexec/mysqld: Can't change dir to '/usr/local/var/' (Errcode: 13)
> 000822 17:25:31 Aborting
>
> Installation of grant tables failed!
>
> Examine the logs in /usr/local/var for more information.
> You can also try to start the mysqld demon with:
> /usr/local/libexec/mysqld --skip-grant &
> You can use the command line tool
> /usr/local/bin/mysql to connect to the mysql
> database and look at the grant tables:
>
> shell> /usr/local/bin/mysql -u root mysql
> mysql> show tables
>
> Try 'mysqld --help' if you have problems with paths. Using --log
> gives you a log in /usr/local/var that may be helpful.
>
> The latest information about MySQL is available on the web at
> http://www.mysql.com
> Please consult the MySQL manual section: 'Problems running mysql_install_db',
> and the manual section that describes problems on your OS.
> Another information source is the MySQL email archive.
> Please check all of the above before mailing us!
> And if you do mail us, you MUST use the /usr/local/bin/mysqlbug scri
> 무신 소리인지..
|