mysql에서..

yjw1234의 이미지

mysql에서.. 데몬을 띄었는데...

바로 종료될때 어떻게 해야 되나요...;;;

/usr/local/mysql/bin/mysqld_safe --user=mysql &

Starting mysqld deamon with databases from /usr/local/mysql/data

이거 뜨고 한 10초쯤 후에

mysqld ended..;;;

이러면서 데몬이 끝;;;

redbaron의 이미지

yjw1234 wrote:
mysql에서.. 데몬을 띄었는데...

바로 종료될때 어떻게 해야 되나요...;;;

/usr/local/mysql/bin/mysqld_safe --user=mysql &

Starting mysqld deamon with databases from /usr/local/mysql/data

이거 뜨고 한 10초쯤 후에

mysqld ended..;;;

이러면서 데몬이 끝;;;


log 파일을 찾아보시길 바랍니다

/usr/local/mysql/log 정도에 있을것 같습니다.

물론 설치하실때 하신 설정에 따라 다를 수도 있으니..

/usr/local/mysql/bin/mysql_config 명령으로 확인해 보실수도..

(조금만 더 검색해보시고 질문하셨으면 좋았을뻔 했습니다..ㅠ_ㅠ)

yjw1234의 이미지

답변해주신님 감사하고요..

log에..

mysql.host가 없다고 하는데...

mysql.host를 어디다가 생성해줘야 되죠?

리눅스 열심히 배워볼랍니다.~

yjw1234의 이미지

040211 19:54:15 mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
040211 19:54:16 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
040211 19:54:16 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
040211 19:54:17 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
040211 19:54:18 InnoDB: Started
040211 19:54:18 Fatal error: Can't open privilege tables: Table 'mysql.host' do
esn't exist
040211 19:54:18 Aborting

040211 19:54:18 InnoDB: Starting shutdown...
040211 19:54:20 InnoDB: Shutdown completed
040211 19:54:18 Aborting

040211 19:54:18 InnoDB: Starting shutdown...
040211 19:54:20 InnoDB: Shutdown completed
040211 19:54:20 /usr/local/mysql/libexec/mysqld: Shutdown Complete

040211 19:54:20 mysqld ended

040211 19:56:58 mysqld started
040211 19:56:59 InnoDB: Started
040211 19:56:59 Fatal error: Can't open privilege tables: Table 'mysql.host' do
esn't exist
040211 19:56:59 Aborting

040211 19:56:59 InnoDB: Starting shutdown...
040211 19:57:01 InnoDB: Shutdown completed
040211 19:57:01 /usr/local/mysql/libexec/mysqld: Shutdown Complete

040211 19:57:01 mysqld ended

040211 19:58:13 mysqld started
040211 19:58:13 InnoDB: Started
040211 19:58:13 Fatal error: Can't open privilege tables: Table 'mysql.host' do
esn't exist
040211 19:58:13 Aborting

('' 위에 오류가...
이런식으로 되는데.......

리눅스 열심히 배워볼랍니다.~

redbaron의 이미지

http://www.mail-archive.com/mysql@lists.mysql.com/msg86011.html

http://www.mail-archive.com/mysql@lists.mysql.com/msg86031.html

이런 문제 아닐런지요? 아마 디렉토리 권한과 관련된 듯 생각됩니다.(현재 제 손에 잡히는 Linux root 계정이 아무 것도 없어서..테스트는 못해봤습니다만..)

http://database.sarang.net 이나 http://wiki.kldp.org 또는 http://www.mysql.com 에서 MySQL 설치에 관한 내용을 다시 천천히 읽어보시고 해보시길 바랍니다.

yjw1234의 이미지

제가 설정상 먼가 잘못했나봐요^^;;

mysql_intall_db 파일에 가서

설정 위치를 조금 바꿔주닌까 되네요

리눅스 열심히 배워볼랍니다.~