[완료]MySQL 5.1.30 에 innodb 옵션 설치가 되지 않습니다.

macrouter의 이미지


안녕하세요?
MySQL 설치 하다 질문이 있어서요.

======System Info=======
CPU : Intel Pentium III Server Dual CPU
RAM : 1GB
H.D.D : SCSI 약 29GB
OS : Red Hat Linux 9
=========================

mysql은 본사 홈페이지에서 mysql-5.1.30.tar.tar 파일을 다운 받아서
최초 mysql 5.1.30 버전 source 설치시 configure 명령은 아래와 같습니다.

./configure --prefix=/usr/local/mysql --localstatedir=/var/datafiles --with-charset=utf8 --with-extra-charsets=all

위 시스템에 mysql 설치 해서 정상 사용중이었으나 transaction 처리가 필요해
innodb 설정이 되어있나 보려고 확인해보니

mysql> show variables like 'have_innodb';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| have_innodb | NO |
+---------------+-------+
1 row in set (0.01 sec)

설정이 안되어있습니다. 구글링 해보니 my.cnf에 skip-innodb 항목에 주석처리 해주면 된다
라고 나와 있는데 5.1 버전의 my.cnf에는 없는건지 처음 설치시 --with-innodb 항목을 안넣어줘서
그런건지 없더군요. 직접 넣어서 주석처리 해봤는데 결과는 위와 같습니다.그리고 4.x 이후 버전은 innodb가 디폴트로 활성화 된다고 했는데
5.1버전에서는 뭐가 달라졌는지 제가 설치한 configure 로는 설정이 되어 있지 않았습니다.

그래서 새로 설치 하고자 아래와 같이 configure해줬으나 다운로드 받은 설치 파일 내에 있는 설치 안내 문서 INSTALL-SOURCE 에도 나와있는 --with-innodb항목이 등록되어있지 않다고 나오면서 WARNING이 떨어집니다.

./configure --prefix=/usr/local/mysql --localstatedir=/var/datafiles --with-innobase --libexecdir=/usr/local/mysql/bin --with-charset=utf8 --with-extra-charsets=all --enable-thread-safe-client --enable-local-infile --disable-shared --with-embedded-server
..
..
..
configure: WARNING: unrecognized options: --with-innodb

어디서는 --with-innobse 라고 해보라고 해서 해봤는데 되질 않더군요.

음..혹시 재설치 하지 않고 5.1.30 버전에서 innodb 활성화 하는 방법이 있지 않을런지요?
아니면 재설치 하더라도 할 수 있는 방법 아시면 답변 좀 부탁드리겠습니다.
그럼..수고하세요 ^^

bushi의 이미지

./configure --help

...
  --with-plugins=PLUGIN[[[,PLUGIN..]]]
                          Plugins to include in mysqld. (default is: none)
                          Must be a configuration name or a comma separated
                          list of plugins.
                          Available configurations are: none max max-no-ndb
                          all.
                          Available plugins are: partition daemon_example
                          ftexample archive blackhole csv example federated
                          heap innobase myisam myisammrg ndbcluster.
...
   === InnoDB Storage Engine ===
  Plugin Name:      innobase
  Description:      Transactional Tables using InnoDB
  Supports build:   static and dynamic
  Configurations:   max, max-no-ndb
...

OTL

macrouter의 이미지

감사합니다.간단한데서 답이 있는데..아직 많이 부족하네요 ^^;

gujjy의 이미지

MySql 설치하는데 옵션을 어찌할까 찾던중 도움되었습니다. 감사합니다.

academic의 이미지

왠만하면 배포판 버전업을 하시죠.

최근 배포판은 mysql 5.x대가 포함되어 있으니...

이렇게 설치하는데 시간 낭비하지 않고, 좀더 생산적인 일을 할 수 있을텐데요.

보안 측면으로 보나... 뭘로 보나...

--
academic은 제 고등학교 때 동아리 이름입니다.
academic, 아주 가끔은 저도 이랬으면 좋겠습니다.

----
academic은 제 고등학교 때 동아리 이름입니다.
academic, 아주 가끔은 저도 이랬으면 좋겠습니다.

댓글 달기

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