솔라리스에서 mysql 설치시 질문입니다.
안녕하세요~
늦은 밤에도 수고 많으시네요~
솔라리스에서 mysql 바이너리 파일로 압축 풀고 테이블 생성시에 다음과 같은 에러가 발생해 테이블이 제대로 생성 되지 않는 것 같습니다.
실행시에 Can't find file: './mysql/host.frm' (errno: 13) 이런 에러가 나오면서 죽어버리네요
scripts/mysql_install_db 로 실행 시엔 다음과 같이 나옵니다.
scripts/mysql_install_db: !: 없음
scripts/mysql_install_db: !: 없음
Installing MySQL system tables...
OK
Filling help tables...
OK
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 !
To do so, start the server, then issue the following commands:
/usr/local/mysql/bin/mysqladmin -u root password 'new-password'
/usr/local/mysql/bin/mysqladmin -u root -h traverse password 'new-password'
Alternatively you can run:
/usr/local/mysql/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
See the manual for more instructions.
You can start the MySQL daemon with:
cd . ; /usr/local/mysql/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
Please report any problems with the ./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 http://shop.mysql.com
그럼 시원한 답변 부탁 드립니다~~~~~


댓글 달기