Hi Marcel, no problem that you are sharing your solution, you are free and welcome to do so.
I just wanted to give some background after you indicated you: "would be happy if it can be added to the CE packages too". On Tue, Jun 10, 2014 at 12:02 PM, Marcel Steves <[email protected]> wrote: > Hum, I am sorry. In this case please remove my message. > I am working in the open source business and there is no much money > available at the beginning of each project. > > > Am Dienstag, 10. Juni 2014 11:13:23 UTC+2 schrieb Sytse Sijbrandij: >> >> Thanks for posting. We're only adding it to EE for business reasons >> (we hope most people insisting on MySQL are organizations that can pay >> for the enterprise version). This is the only way in which we're >> currently trying to make money off our packaging efforts with Omnibus. >> >> On Fri, Jun 6, 2014 at 7:40 PM, Marcel Steves <[email protected]> >> wrote: >> > Okay I found a real simple solution, but beware you need to do it after >> > each >> > update and so on, and it isn't the "supported" way I think. >> > But I want to use the Omnibus packages and don't to install all >> > requirements >> > like ruby to run GitLab. >> > >> > >> > Edit /etc/gitlab/gitlab.rb for mysql database >> >> >> >> apt-get install libmysqlclient-dev >> >> gitlab-ctl reconfigure >> >> >> >> cd /opt/gitlab/embedded/bin/ >> >> ./gem install -i /opt/gitlab/embedded/service/gem/ruby/2.0.0 mysql2 >> >> -v0.3.11 >> >> >> >> Fetching: mysql2-0.3.11.gem (100%) >> >> Building native extensions. This could take a while... >> >> Successfully installed mysql2-0.3.11 >> >> Parsing documentation for mysql2-0.3.11 >> >> unable to convert "\x80" from ASCII-8BIT to UTF-8 for >> >> ../../extensions/x86_64-linux/2.0.0/mysql2-0.3.11/mysql2/mysql2.so, >> >> skipping >> >> unable to convert "\x80" from ASCII-8BIT to UTF-8 for >> >> lib/mysql2/mysql2.so, skipping >> >> Installing ri documentation for mysql2-0.3.11 >> >> 1 gem installed >> > >> > >> > (You can ignore the error or run gem install with --no-ri or update >> > rdoc) >> > Edit file /opt/gitlab/embedded/service/gitlab-rails/.bundle/config and >> > change mysql to postgres. >> >> >> >> BUNDLE_WITHOUT: development:test:postgres >> > >> > Run gitlab-rake gitlab:setup >> > >> > I hope it helps other people, too, and I would be happy if it can be >> > added >> > to the CE packages too. >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "GitLab" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to [email protected]. >> > To view this discussion on the web visit >> > >> > https://groups.google.com/d/msgid/gitlabhq/041da84b-900f-42fd-b324-19cd25b0d051%40googlegroups.com. >> > >> > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "GitLab" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/gitlabhq/361ccf18-6946-4314-8688-ae8379503f9b%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/CAEG31mMJnqWAcqqzrAwQCOstZNwDdq4Do7tFPRAvQQNbRHBbfQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
