Hiall,
I just tried out InstantRails version 1.3a. After a virgin install and
filling the fresh mysql db with my app schema, I tried runningthe app
with webrick, only to see the infamous “Lost connection to mysql
server” for every action. What is it that I’m doing wrong? I also have
mysql 5 installed on my machine, but the service is stopped while
experimenting with InstantRails, which ships with mysql 4.1.9
Thx for any tips!
cheers
Martin
Weird enough the lost connection error does not appear when I run my
app from apache/fcgi ! However, the app feels extremely slow!!! I
would say that every request takes about 5-10 times as long as when
using webrick … Any ideas?
cheers
Martin
Martin,
Try installing the new MySQL/Ruby database driver and see if this solves
your problem:
http://www.vandomburg.net/pages/mysql-ruby-windows
Curt
Hi Curt,
Thx that did the trick! I have my app working on instantrails now with
webrick and with apache. Unfortunately, when running under apache/scgi
my app is TERRIBLY slow! Anyone any ideas why?
cheers
Martin
I’m forwarding this to the Instant Rails ML – this has been reported
before.
Curt
For what it’s worth, I’ve been running an app under Instant Rails for
approx 2 weeks; it’s still lightning quick. It’s running under
Mongrel though - you might want to check it out to see if it’s a
better solution for you.
Regards
Dave M.