on-internet
← Community

How to force rsyslog ommysql use utf8?

Stack Overflow ·

I'm using ommysql in rsyslog for transfering data into mysql $ModLoad ommysql local6.* :ommysql:localhost,Syslog,rsyslog,1 but cyrilic data goes like "·Ð¾Ð²Ð°Ð½Ð¸Ðµ иÑ�точнÐ" in database. I think It's because ommysql doesn't set utf8 encoding and starts inserting at once it's connected: http://s017.radikal.ru/i441/1606/e0/050cf30c495f.png Is it any way to say «set names utf8;» before inserting?

Comments

Sign in or sign up to comment and upvote.

No comments yet.