ユーザ用ツール

サイト用ツール


ruby:rubygems:mysql2

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

次のリビジョン
前のリビジョン
ruby:rubygems:mysql2 [2018/06/25 09:40] – 外部編集 127.0.0.1ruby:rubygems:mysql2 [2019/08/21 13:42] (現在) – [概要] taka
行 1: 行 1:
-====== Ruby - MySQL2 ======+====== Ruby - mysql2 ======
  
 ===== 概要 ===== ===== 概要 =====
  
-[[https://github.com/brianmario/mysql2|MySQL2]]+[[https://rubygems.org/gems/mysql2|mysql2]]
  
 ===== 64bit環境でのSegmentation Fault問題 ===== ===== 64bit環境でのSegmentation Fault問題 =====
行 9: 行 9:
 Windows 7 64bit + MySQL 64bit環境でRubyからMySQLをハンドリングしていると以下のエラーが発生することがある。 Windows 7 64bit + MySQL 64bit環境でRubyからMySQLをハンドリングしていると以下のエラーが発生することがある。
  
-<sxh bash; gutter: false;>+<sxh bash; gutter:false;>
 [BUG] Segmentation fault  [BUG] Segmentation fault 
 </sxh> </sxh>
行 19: 行 19:
     * [[http://dev.mysql.com/downloads/connector/c/|MySQL Connector/C]](mysql-connector-c-noinstall-6.0.2-win32.zipを選択)     * [[http://dev.mysql.com/downloads/connector/c/|MySQL Connector/C]](mysql-connector-c-noinstall-6.0.2-win32.zipを選択)
   - C:/mysql-connector-c-noinstall-6.0.2-win32に解凍する   - C:/mysql-connector-c-noinstall-6.0.2-win32に解凍する
-  - gemコマンドを実行\\ <sxh bash; gutter: false;>gem install mysql2 --platform=ruby -- --with-mysql-lib=C:/mysql-connector-c-noinstall-6.0.2-win32/lib --with-mysql-include=C:/mysql-connector-c-noinstall-6.0.2-win32/include</sxh>+  - gemコマンドを実行\\ <sxh bash; gutter:false;>gem install mysql2 --platform=ruby -- --with-mysql-lib=C:/mysql-connector-c-noinstall-6.0.2-win32/lib --with-mysql-include=C:/mysql-connector-c-noinstall-6.0.2-win32/include</sxh>
   - C:/mysql-connector-c-noinstall-6.0.2-win32/lib内のlibmysql.dllをC:/usr/binにコピーする   - C:/mysql-connector-c-noinstall-6.0.2-win32/lib内のlibmysql.dllをC:/usr/binにコピーする
  
ruby/rubygems/mysql2.1529887234.txt.gz · 最終更新: 2018/06/25 09:40 by 127.0.0.1