Sending specific SQL after connection (no replies)
(MySQL.com) I am now trying rw-splitting.lua with Rails 2.3.2 (or newer) and MySQL 5.1.43.
I found that ActiveRecord's MySQL connector does the following after new connection is established:
1. Send SET NAMES if any encoding is specified in database.yml
2.
Update update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 1268 failed: 1142 [UPDATE command denied to user '334187_hdlns_ms5'@'10.187.248.89' for table 'feed'] in [update feed set failed_fetches=0, fetched=current_timestamp() where feed_id = 1268]
updated 1268 (MySQL User Forums), inserted 30, updated 0, at 2012-06-02 00:13:56