I keep getting an error when I try to run a redmine installation. This is what comes up. .gems/gems/activerecord-2.3.5/lib/active_record/connection_adapters/ mysql_adapter.rb:589:in `real_connect'': Can''t connect to local MySQL server through socket ''/var/run/mysqld/mysqld.sock'' (2) (Mysql::Error) The database server is a remote server, and I can''t see why activerecord is complaining about the absence of a local socket. The part of the installation to initialize the database went fine. Is there a small test app I can use to check if the database connectivity part is working properly? Something read a row or test the existings of some tables? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Frederick Cheung
2010-Feb-20 21:28 UTC
Re: Looking for a small database testing application
On Feb 20, 7:42 pm, vfclists <vfcli...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> I keep getting an error when I try to run a redmine installation. > > This is what comes up. > > .gems/gems/activerecord-2.3.5/lib/active_record/connection_adapters/ > mysql_adapter.rb:589:in `real_connect'': Can''t connect to local MySQL > server through socket ''/var/run/mysqld/mysqld.sock'' (2) (Mysql::Error) > > The database server is a remote server, and I can''t see why > activerecord is complaining about the absence of a local socket.Probably because the app hasn''t been configured to look for that remote server, so it''s defaulting to the local machine. Fred> > The part of the installation to initialize the database went fine. > > Is there a small test app I can use to check if the database > connectivity part is working properly? Something read a row or test > the existings of some tables?-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.