From: Garry Freemyer Date: 2009-07-10T05:25:37+09:00 Subject: Re: Why is my server shutting down? --0-1072915559-1247171131=:35062 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In the winows\system32 directory you may find a file called regserver32 or = something like that. Drag the dll onto that and drop and see if that fixes = it.=0A=0A=0A=0A=0A________________________________=0AFrom: Kai K=C3=B6nig <= kai@kairichardkoenig.com>=0ATo: ruby-talk ML =0ASe= nt: Thursday, July 9, 2009 10:15:07 AM=0ASubject: Re: Why is my server shut= ting down?=0A=0AFor some reason, however, it appears that Rails is unable t= o find a required MySQL dll. The best fix I=E2=80=99ve been able to find (o= k, I admit this is clunky, but anyhow it works) is to copy libmySQL.dll fro= m your MySQL binary directory (for example, C:\Program Files\MySQL\MySQL Se= rver 5.0\bin) into the Ruby binary directory (for example, C:\ruby\bin). Re= start your application (shut down and restart the server), then try running= it again. For me, that fixes the problem.=0A=0Acheers=0AOn 09.07.2009, at = 14:10, Jason Cheung wrote:=0A=0A> I start the MySQL server with the "ruby s= cript/server" command.=0A> It loads fine.=0A> When I go to localhost:3000, = the server immediately shuts down and=0A> throws out an error. It says:=0A>= C:\ruby\lib\ruby\gems\1.8\gems\activerecord-2.3.2\lib\active_record\connec= tion_adapters\abstract_adapter.rb:39:=0A> [BUG] Segmentation fault ruby 1.8= .6 (2008-08-11) [i386-mswin32].=0A> I've been looking around online and man= y have the same error occuring.=0A> I'm running mysql 5.0.83, rails 2.3.2, = ruby 1.8.6 and rubygems 1.3.4.=0A> =0A> Can anybody help!?=0A> Thanks,=0A> = Jay=0A> --Posted via http://www.ruby-forum.com/.=0A> --0-1072915559-1247171131=:35062--