24 Oct
Problema di connessione a MySQL 4.1 o superiore
Se connettendovi al Database MySQL ottenete i seguenti errori:
1 'Packets out of order' error was received from the database. Please update your mysql bindings (gem update mysql) and read http://dev.mysql.com...
oppure
1 ActiveRecord::StatementInvalid in Controller#method Lost connection to MySQL server during query: SHOW FIELDS FROM table
Dovete commentare (inserendo il carattere “#”) la riga di codice:
1
all’interno del file mysql_adapter.rb, che si trova sotto Windows in:
1 {RUBYPATH}\lib\ruby\gems\1.8\gems\activerecord-1.11.1\lib\active_record\connection_adapters
mentre sotto Debian, se avete installato il pacchetto rails con apt-get in:
1 /usr/share/rails/activerecord/lib/active_record/connection_adapters
se avete installato il Rails tramite il RubyGem in:
1 /usr/lib/ruby/gems/1.8/gems/activerecord-1.12.1/lib/active_record/connection_adapters
Una volta modificato il file, riavviate il Server Web per rendere effettive le modifiche.


I don’t know any italian, but your site was the only site I could find for fixing my problem.
I have been fighting with mysql connection issue for days, and resolved the issue with your help…
And, I have to tell you: THANKS A LOT!
You’re welcome and many thanks for your compliments.
I’m happy that this article helps you and I hope that will help someone else!!!
Bye
Matte
Thanks matte … it helped me too!
You’re welcome ixnaum