Hi everyone, I''m having trouble actually running mysql queries. I can connect to the database, I think, but when a query gets run the following shows up in my log: SQL (0.000000) Mysql::Error: Lost connection to MySQL server during query: SHOW TABLES Any suggestions? Thanks! Daniel Higginbotham
Hi Daniel, are you running queries from the MySQL command prompt? -Conrad On 4/14/06, Daniel Higginbotham <daniel@flyingmachinestudios.com> wrote:> > Hi everyone, > > I''m having trouble actually running mysql queries. I can connect to the > database, I think, but when a query gets run the following shows up in my > log: > > SQL (0.000000) Mysql::Error: Lost connection to MySQL server during > query: SHOW TABLES > > Any suggestions? > > Thanks! > Daniel Higginbotham > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: wrath.rubyonrails.org/pipermail/rails/attachments/20060415/945b36c0/attachment.html
Nevermind, it''s fixed. Apparently there had been some problems installing the mysql gem, but it''s all working now. sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql Got the gem installed fine. _____ From: rails-bounces@lists.rubyonrails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Conrad Taylor Sent: Friday, April 14, 2006 3:50 PM To: rails@lists.rubyonrails.org Subject: Re: [Rails] Can''t run MySQL queries Hi Daniel, are you running queries from the MySQL command prompt? -Conrad On 4/14/06, Daniel Higginbotham <daniel@flyingmachinestudios.com> wrote: Hi everyone, I''m having trouble actually running mysql queries. I can connect to the database, I think, but when a query gets run the following shows up in my log: SQL (0.000000) Mysql::Error: Lost connection to MySQL server during query: SHOW TABLES Any suggestions? Thanks! Daniel Higginbotham _______________________________________________ Rails mailing list Rails@lists.rubyonrails.org <mailto:Rails@lists.rubyonrails.org> lists.rubyonrails.org/mailman/listinfo/rails -------------- next part -------------- An HTML attachment was scrubbed... URL: wrath.rubyonrails.org/pipermail/rails/attachments/20060415/6d029154/attachment-0001.html