Mysql locale session variable ?

Posted by Maxim Veksler on Stack Overflow See other posts from Stack Overflow or by Maxim Veksler
Published on 2010-04-14T15:37:48Z Indexed on 2010/04/14 16:02 UTC
Read the original article Hit count: 474

Filed under:
|
|

Hunting internationalization bugs here.

Does mysql has a variable which can be set per session, meaning the each connection will know the timezone of it's client and will act upon that.

If such variable does exists I would expect sql statements such as the following will return diffect values, based on connection session locale.

select date('2010-04-14') + 0;

Thank you, Maxim.

© Stack Overflow or respective owner

Related posts about mysql

Related posts about i18n