Another MySQL headache
Tuesday, November 27th, 2007In http://www.dbmail.org/mantis/view.php?id=655, Mr. Maenaka writes:
MySQL’s automatic reconnection is unsafe because of the following reason.First, SET NAMES query is a required arbitration between server and client if both’s character encoding is different. This should be done at the time of connection open. (Of course you can issue SET NAMES between every query with the huge overhead though.) By […]