Entityengine.xml Modify the red text place:
<datasource name= "Localmysql"
Helper-class= "Org.ofbiz.entity.datasource.GenericHelperDAO"
Field-type-name= "MySQL"
Check-on-start= "true"
Add-missing-on-start= "true"
Check-pks-on-start= "false"
Use-foreign-keys= "true"
Join-style= "Ansi-no-parenthesis"
Alias-view-columns= "false"
Drop-fk-use-foreign-key-keyword= "true"
Table-type= "InnoDB"
character-set= "UTF8"
Collate= "Utf8_general_ci" >
<read-data reader-name= "Seed"/>
<read-data reader-name= "Seed-initial"/>
<read-data reader-name= "Demo"/>
<read-data reader-name= "ext"/>
<inline-jdbc
Jdbc-driver= "Com.mysql.jdbc.Driver"
jdbc-uri= "Jdbc:mysql://127.0.0.1/ofbiz?autoreconnect=true&useoldaliasmetadatabehavior=true& ; Useunicode=true&characterencoding=utf-8 "
Jdbc-username= "Root"
Jdbc-password= "123456"
Isolation-level= "ReadCommitted"
Pool-minsize= "2"
Pool-maxsize= "250"
time-between-eviction-runs-millis= "600000"/><!--Please note that at least one person have experienced a problem with This value with MySQL
and had to set it to-1 in order to avoid this issue.
For more look at http://markmail.org/thread/5sivpykv7xkl66px and http://commons.apache.org/dbcp/configuration.html-->
<!--<jndi-jdbc jndi-server-name= "Localjndi" jndi-name= "Java:/mysqldatasource" isolation-level= "Serializable "/>--
</datasource>
MySQL Chinese garbled (2nd question)