Debian(sarge)でMySQL5.0を使う
This article was migrated from http://rai
Debian(sarge)にMySQL5.0を導入する方法のメモです。
/etc/apt/s
deb http://ftp.de.debian .org/debia n/ testing main contrib non-free deb-src http://ftp .de.debian .org/debia n/ testing main contrib non-free
そして
# aptitude update # aptitude install mysql-server-5.0
で、質問にYesで答えて完了。
途中で mysql のバージョンを変更すると、下記のようなエラーが出る場合があります。
Lost connectionto MySQL server during query: SELECT version FROM schema_inf o
そのような場合、ここのサイトに書かれている事が解決の助けになるかもしれません。
僕の場合、上記の問題が発生したため、上記サイトの情報と、このあたり
([ruby-list:
# gem install mysql # cd /usr/local/lib/ruby/ gems/1.8/g ems/mysql- 2.7 # vim extconf.rb
ここで、extconf.rb
#while not find_library('mysqlclien t', 'mysql_quer y', lib, "#{ lib }/mysql") do # exit 1 if libs.empty ? # have_libra ry(libs.shift ) #end have_libra ry("mysqlclien t")
あとは、
# ruby extconf.rb# make install
でOK!
This article was migrated from http://rai