[CDBI] [Repost] Set utf8 character set on class connection?
birgit.kellner at univie.ac.at
Mon Jan 9 20:48:25 GMT 2006
Perrin Harkins wrote:
>The danger here is that if you lose your connection, it will reconnect,
>and will not re-run that SQL. You have to override db_Main to fix that.
>If you only use this in short command-line scripts and not in a
>persistent environment like mod_perl, you may be okay.
It's not persistent, but it's in a web environment, and it might get
persistent some day.
How do I "override db_Main" and execute the sql command? As I wrote
before, running "set_sql" on my class connection doesn't execute the
More information about the ClassDBI