Hi,
I’m lost and my mysql connection as well… I got this
error in my production.log:
ActiveRecord::StatementInvalid (Mysql::Error: Lost connection to MySQL
server during query: SET NAMES ‘utf8’):
Config:
Debian Sarge (last updated), Rails 1.1.2, Webrick,
mysqld Ver 4.1.11-Debian_4sarge2 for pc-linux-gnu on i386
apache2 with mod_rewrite and webrick as proxy on 8080.
Is there a chance to get this configuration working ? I have the same
environment on my dev machine and everything is OK on it…
When I connect on this MySQL server using mysqlclient and type the
same command : set names ‘utf8’, everything works !
This is my database.yml:
production:
adapter: mysql
database: test
username: ***
password: ***
socket: /var/run/mysqld/mysqld.sock
encoding: utf8
I have rebooted the server, MySQL, Webrick, Apache…
Really, I am lost…Any help is REALLY appreciated…
Cheers
Seb