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 파일에 가서

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

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

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.