[UPHPU] mysql question

Walt Haas haas at xmission.com
Wed Nov 14 09:07:27 MST 2007


The character set is configured into the database when it is created, so 
you should automatically get whatever was created.

Actually I believe it is configured per table.

-- Walt

Chad Sollis wrote:
> 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
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>
>   



More information about the UPHPU mailing list