flagflag  
1: 2011-10-27 (Thu) 14:38:52 s09081 source
Line 1: Line 1:
 +*コンパイル方法が変更になった [#g008ef65]
 +cmakeを使うことになった
 +**Cmakeを入れる [#i6eb816b]
 +yum install cmake~
 +こんなもんか~
 +**コンパイル [#a0e2562c]
 +  tar xzfv mysql-5.5.*.tar.gz
 +  cd mysql-5.5.*
 +  cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DDEFAULT_CHARSET=utf8
 +   (オプション表:http://dev.mysql.com/doc/mysql-sourcebu​ild-excerpt/5.5/en/source-configuration-​options.html)
 +   ReadLineはデフォルトで外されている
 +  make
 +  make install
 +**mysql_install_db 実行時にエラー [#tccd97cc]
 +最近は mysql_install_db 実行時に ベースディレクトリを指定しないとエラーになるようです.~
 +  FATAL ERROR: Could not find ./bin/my_print_defaults
 +
 +  # /usr/local/mysql/scripts/mysql_install_d​b –basedir=/usr/local/mysql


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

25 user(s) are online (1 user(s) are browsing xpwiki)

Members: 0
Guests: 25

more...

Access Counter

Today : 107107107
Yesterday : 4763476347634763
Total : 2368873423688734236887342368873423688734236887342368873423688734
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com