mysql 페도라 코어4 에서 설치 문제...

goldedit의 이미지

레드헷 페도라 코어4 리눅스에
mysql-4.1.14 소스를 컴파일 하여 설치 하였습니다.
컴파일 옵션은

    ./configure --prefix=/usr/local/mysql --libexecdir=/usr/local/mysql/bin --localstatedir=/usr/local/mysql/data --sysconfdir=/etc --with-extra-charsets=none --with-thread-safe-client --with-mysqld-user="mysql" --with-unix-socket-path=/var/run/mysql.sock --with-client-ldflags=-all-static --with-mysqld-ldflags=-all-static --with-innodb --with-readline --with-charset=euckr --without-isam --without-debug --without-docs --without-bench --enable-thread-safe-client --enable-assembler --disable-shared

위와 같이 하여 컴파일 하였고, 문제 없이 컴파일 되었습니다.
설치후 기본 데이터베이스 생성 mysql_install_db 해주고 아래와 같이 실행을 하면
실행이 되지 않습니다.

Quote:

[root@test mysql]# /usr/local/mysql/bin/mysqld_safe &
[1] 6249
[root@test mysql]# Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/test.pid
050926 11:25:15 mysqld ended

[1]+ Done /usr/local/mysql/bin/mysqld_safe

에러 로그 파일에는

Quote:

050926 11:25:15 mysqld started
050926 11:25:15 [ERROR] Can't start server : Bind on unix socket: Permission denied
050926 11:25:15 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysql.sock ?
050926 11:25:15 [ERROR] Aborting

050926 11:25:15 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

050926 11:25:15 mysqld ended

와 같이 되어 있습니다.
뭣땜시 mysql 이 실행 되지 않는걸까요? ㅡㅡ;

[/]
codebank의 이미지

# chown -R mysql:mysql /usr/local/mysql/data 아마 접근에러때문일겁니다. mysql이 data 디렉토리에 접근할 수 있는 권한을 주어야만합니다.

------------------------------
좋은 하루 되세요.

goldedit의 이미지

.

-

이은태의 이미지

/var/run/mysql.sock 파일이 존재한다면 삭제

mysql 사용자와 그룹이 존재하는지 체크 후
chown -R mysql.mysql /usr/local/mysql/data

/etc/hosts에
127.0.0.1 localhost test
test 127.0.0.1 로 바인딩되는지 여부를 체크해보세요

:-)

goldedit의 이미지

모두다 문제 없는데... 안되네요 ㅠㅠ;
흐흨;; 뭣이 문젠지 ㅡㅡ;

-

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.