send commands for any new database connection when established
Jianshi Huang <[email protected]> Wed, 26 Jan 2011 03:13:11 +0900
| Newsgroups | gmane.lisp.clsql.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I need to run the following commands for each Mysql connection when it's established before any other queries. set names utf8 set character set utf8 The reason I'm asking is that I'm using the connection pool and the code seems to have no idea whether the connection returned is a new one or not. What's the proper way to do that in CLSQL? And is there any hooks that I can use? -- Jianshi Huang