[UPHPU] mysql question

Chad Sollis uphpu at sollis.net
Wed Nov 14 08:30:46 MST 2007


Does anyone know how I can set these two values as a default in MYSQL,
instead of having to preface queries with them:

SET CHARACTER SET utf8
SET NAMES 'utf8'

I found this for the mysql config file:

[mysqld]
init-connect='SET NAMES utf8'
default-character-set=utf8

Does this look correct?

Thank you in advance.

~Chad


More information about the UPHPU mailing list