プロジェクト

全般

プロフィール

Vote #70784

完了

Mysql 5.5.x doesn't seem to be supported under Mac OS X

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Documentation_24
対象バージョン:
-
開始日:
2011/09/29
期日:
進捗率:

0%

予定工数:
category_id:
24
version_id:
0
issue_org_id:
9353
author_id:
4
assigned_to_id:
0
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
35
ステータス-->[Closed]

説明

It took me a while to figure that out but mysql 5.5.x is not supported.
I downgraded to mysql 5.1.59 and that worked ok.

Maybe RedmineInstall at least should mention this because I looked at the support forum and more people are running into this issue.

I was running Redmine 1.2.1 mysql 5.5.x (64-bit) MacOS X 10.7.1

but this 5.5.59 worked.

Also redmine install notes should include how to install gem mysql on these platforms:

sudo env ARCHFLAGS="-arch x86_64" gem install mysql --no-rdoc --no-ri -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

or for Postgresql

sudo env ARCHFLAGS="-arch x86_64" gem install pg

Replace x86_64 with i386 for 32-bit version of those databases installed.


journals

--------------------------------------------------------------------------------
FWIW, as I just finished installing redmine 1.2.2 onto a 10.7.2 server I notice from my bash history I simply used:
sudo gem install pg

Attached is a list of my bash history as related to getting redmine 1.2.2 running with 10.7.2 server. Maybe it might help some poor lost soul.
<pre>
6 sudo gem install -v=0.4.2 i18n
7 sudo port deactivate gem
8 sudo port uninstall gem
9 sudo gem install -v=0.4.2 i18n
10 rm /opt/local/bin/gem
11 sudo rm /opt/local/bin/gem
12 sudo gem install -v=0.4.2 i18n
17 port install gem
24 port search gem
25 port install rb-rubygems
26 port -f activate rb-rubygems
27 port -f activate rb-rubygems @1.3.7_0+ruby
28 which gem
36 gem -V
37 gem -v
49 gem install rails
53 gem install rails -v=2.3.11
54 gem install rack -v=1.1.0
55 gem install fastthread
57 gem install passenger
59 gem install rake
465 gem install -v=0.4.2 i18n
476 gem install pg
</pre>

--------------------------------------------------------------------------------
It seems mysql 5.5 is now installed by default on Mountain Lion (at least I don't remember having installed it ; but maybe I did it inadvertently with brew), so I'll close this issue. Feel free to reopen if I'm wrong. Thanks.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリDocumentation_24 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0