### Error Updating database. Cause:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:INSERT command denied to user ' kj ' @ ' im.chbjt.com ' For table ' Blood_sugar '
### the error may involve com.kj.mybatis.mapper.bloodsugarmapper.insertuserbloodsugar-inline
### The error occurred while setting parameters
### Sql:insert into Blood_sugar (Local_date, User_phone, Bl_sugar_val, Eval_result, Result_flag) VALUES (?,?,?,?,?)
### Cause:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:INSERT command denied to user ' kj ' @ ' im.chbjt.com ' For table ' Blood_sugar '
; Bad SQL Grammar []; Nested exception is Com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:INSERT command denied to user ' kj ' @ ' im.chbjt.com ' for table ' Blood_sugar '
At Org.springframework.jdbc.support.SQLExceptionSubclassTranslator.doTranslate ( sqlexceptionsubclasstranslator.java:94)
At Org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate ( ABSTRACTFALLBACKSQLEXCEPTIONTRANSLATOR.JAVA:72)
At Org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate ( ABSTRACTFALLBACKSQLEXCEPTIONTRANSLATOR.JAVA:80)
At Org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible (Mybatisexceptiontranslator.java : 71)
At Org.mybatis.spring.sqlsessiontemplate$sqlsessioninterceptor.invoke (sqlsessiontemplate.java:365)
At $Proxy 9.insert (Unknown Source)
At Org.mybatis.spring.SqlSessionTemplate.insert (sqlsessiontemplate.java:237)
At Org.apache.ibatis.binding.MapperMethod.execute (mappermethod.java:79)
At Org.apache.ibatis.binding.MapperProxy.invoke (mapperproxy.java:40)
At $Proxy 12.insertUserBloodSugar (Unknown Source)
At Com.kj.dao.DataDao.sugarSave (datadao.java:36)
At Com.kj.dao.thread.BloodSugarDaoThread.run (bloodsugarthread.java:46)
Workaround: The REDIS,IP address of the application on the Web server connecting to this computer cannot be set to 127.0.0.1, to be set to the actual IP