-1

When I tried to build my web application, I was stucked for almost a week only because I didnot know to configure url with unicode information. Even if I publish the executed sql by hibernate, when the sql arrives at mysql server, it is actually encoded/decoded to different thing because of the usage of chinese character.

So I wonder is it possible to publish the arrived sql at mysql server side in order to make sure about what is going on at every level.

mingzhao.pro
  • 709
  • 1
  • 6
  • 20

1 Answers1

1

In order to publish the arrived sql at the mysql server side you should enable query logging

this link is showing how to do that

How to enable MySQL Query Log?

and official documentation

http://dev.mysql.com/doc/refman/5.7/en/query-log.html

Community
  • 1
  • 1
vexan
  • 88
  • 4