flagflag  

コンパイル方法が変更になった anchor.png

cmakeを使うことになった

Page Top

Cmakeを入れる anchor.png

yum install cmake
こんなもんか

Page Top

コンパイル anchor.png

 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-sourcebuild-excerpt/5.5/en/source-configuration-options.html)
   ReadLineはデフォルトで外されている
 make
 make install
Page Top

mysql_install_db 実行時にエラー anchor.png

最近は mysql_install_db 実行時に ベースディレクトリを指定しないとエラーになるようです.

 FATAL ERROR: Could not find ./bin/my_print_defaults
 # /usr/local/mysql/scripts/mysql_install_db –basedir=/usr/local/mysql

Front page   Freeze Diff Backup Copy Rename Reload   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)
Counter: 1394, today: 1, yesterday: 2
Last-modified: 2011-11-26 (Sat) 21:39:58 (JST) (4544d) by s09081

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

109 user(s) are online (21 user(s) are browsing xpwiki)

Members: 0
Guests: 109

more...

Access Counter

Today : 4471447144714471
Yesterday : 1716817168171681716817168
Total : 2350093223500932235009322350093223500932235009322350093223500932
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com