Martin Gamsjaeger
2006-Jun-14 08:54 UTC
[Rails] InstantRails Lost connection to MySQL server
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
Martin Gamsjaeger
2006-Jun-14 09:11 UTC
[Rails] Re: InstantRails Lost connection to MySQL server
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 On 6/14/06, Martin Gamsjaeger <gamsnjaga@gmail.com> wrote:> 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 >
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 On 6/14/06, Martin Gamsjaeger <gamsnjaga@gmail.com> wrote:> > 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 > > On 6/14/06, Martin Gamsjaeger <gamsnjaga@gmail.com> wrote: > > 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 > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060614/cdf8321e/attachment.html
Martin Gamsjaeger
2006-Jun-14 19:54 UTC
[Rails] Re: InstantRails Lost connection to MySQL server
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 On 6/14/06, Curt Hibbs <ml.chibbs@gmail.com> wrote:> > 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 > > > On 6/14/06, Martin Gamsjaeger <gamsnjaga@gmail.com> wrote: > > > 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 > > On 6/14/06, Martin Gamsjaeger <gamsnjaga@gmail.com > wrote: > > 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 > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >
I''m forwarding this to the Instant Rails ML -- this has been reported before. Curt On 6/14/06, Martin Gamsjaeger <gamsnjaga@gmail.com> wrote:> > 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 > > On 6/14/06, Curt Hibbs <ml.chibbs@gmail.com> wrote: > > > > 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 > > > > > > On 6/14/06, Martin Gamsjaeger <gamsnjaga@gmail.com> wrote: > > > > > 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 > > > > On 6/14/06, Martin Gamsjaeger <gamsnjaga@gmail.com > wrote: > > > 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 > > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060614/0a4c92e3/attachment.html
David Mitchell
2006-Jun-14 23:54 UTC
[Rails] Re: InstantRails Lost connection to MySQL server
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. On 15/06/06, Curt Hibbs <ml.chibbs@gmail.com> wrote:> > I''m forwarding this to the Instant Rails ML -- this has been reported > before. > > > Curt > > > On 6/14/06, Martin Gamsjaeger <gamsnjaga@gmail.com> wrote: > > 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 > > > > On 6/14/06, Curt Hibbs <ml.chibbs@gmail.com> wrote: > > > > > > 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 > > > > > > > > > On 6/14/06, Martin Gamsjaeger < gamsnjaga@gmail.com> wrote: > > > > > > > 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 > > > > > > On 6/14/06, Martin Gamsjaeger < gamsnjaga@gmail.com > wrote: > > > > 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 > > > > > > > _______________________________________________ > > > Rails mailing list > > > Rails@lists.rubyonrails.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > _______________________________________________ > > > Rails mailing list > > > Rails@lists.rubyonrails.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >