Hi, I have problems with mongrel not responding after a long time of no traffic. I heard it has to do with the mysql adapter. I should use the native version. Does this only work if the mysql server is installed on the same machine? I installed the libmysqlclient and tried to install the mysql gem but it does not work : ruby extconf.rb install mysql --include-dependencies checking for mysql_query() in -lmysqlclient... no checking for main() in -lm... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main() in -lnsl... yes checking for mysql_query() in -lmysqlclient... no I found out that a configuration is missing: gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/ mysql_config I don''t have suh a configuration - it seems to indicate that I have to have the mysql server running on that machine. Thta is not possible for me. Thanx, Stefan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
What operating system are you using? On 4/3/07, stemey <s.meyer-f4nibZ0D32L2O37bPCeAEBvVK+yQ3ZXh@public.gmane.org> wrote:> > > Hi, > > I have problems with mongrel not responding after a long time of no > traffic. I heard it has to do with the mysql adapter. I should use the > native version. Does this only work if the mysql server is installed > on the same machine? I installed the libmysqlclient and tried to > install the mysql gem but it does not work : > > > ruby extconf.rb install mysql --include-dependencies > checking for mysql_query() in -lmysqlclient... no > checking for main() in -lm... yes > checking for mysql_query() in -lmysqlclient... no > checking for main() in -lz... yes > checking for mysql_query() in -lmysqlclient... no > checking for main() in -lsocket... no > checking for mysql_query() in -lmysqlclient... no > checking for main() in -lnsl... yes > checking for mysql_query() in -lmysqlclient... no > > > I found out that a configuration is missing: > > gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/ > mysql_config > > I don''t have suh a configuration - it seems to indicate that I have to > have the mysql server running on that machine. Thta is not possible > for me. > > Thanx, > Stefan > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
debian linux On Apr 3, 4:53 pm, "Brian Hogan" <bpho...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> What operating system are you using? > > On 4/3/07, stemey <s.me...-f4nibZ0D32L2O37bPCeAEBvVK+yQ3ZXh@public.gmane.org> wrote: > > > > > Hi, > > > I have problems with mongrel not responding after a long time of no > > traffic. I heard it has to do with the mysql adapter. I should use the > > native version. Does this only work if the mysql server is installed > > on the same machine? I installed the libmysqlclient and tried to > > install the mysql gem but it does not work : > > > ruby extconf.rb install mysql --include-dependencies > > checking for mysql_query() in -lmysqlclient... no > > checking for main() in -lm... yes > > checking for mysql_query() in -lmysqlclient... no > > checking for main() in -lz... yes > > checking for mysql_query() in -lmysqlclient... no > > checking for main() in -lsocket... no > > checking for mysql_query() in -lmysqlclient... no > > checking for main() in -lnsl... yes > > checking for mysql_query() in -lmysqlclient... no > > > I found out that a configuration is missing: > > > gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/ > > mysql_config > > > I don''t have suh a configuration - it seems to indicate that I have to > > have the mysql server running on that machine. Thta is not possible > > for me. > > > Thanx, > > Stefan--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Actually it''s suse linux - not debian. On Apr 3, 4:53 pm, "Brian Hogan" <bpho...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> What operating system are you using? > > On 4/3/07, stemey <s.me...-f4nibZ0D32L2O37bPCeAEBvVK+yQ3ZXh@public.gmane.org> wrote: > > > > > Hi, > > > I have problems with mongrel not responding after a long time of no > > traffic. I heard it has to do with the mysql adapter. I should use the > > native version. Does this only work if the mysql server is installed > > on the same machine? I installed the libmysqlclient and tried to > > install the mysql gem but it does not work : > > > ruby extconf.rb install mysql --include-dependencies > > checking for mysql_query() in -lmysqlclient... no > > checking for main() in -lm... yes > > checking for mysql_query() in -lmysqlclient... no > > checking for main() in -lz... yes > > checking for mysql_query() in -lmysqlclient... no > > checking for main() in -lsocket... no > > checking for mysql_query() in -lmysqlclient... no > > checking for main() in -lnsl... yes > > checking for mysql_query() in -lmysqlclient... no > > > I found out that a configuration is missing: > > > gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/ > > mysql_config > > > I don''t have suh a configuration - it seems to indicate that I have to > > have the mysql server running on that machine. Thta is not possible > > for me. > > > Thanx, > > Stefan--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---