changed db to mysql and solve unicode problems