Android Question java.sql.SQLException: Could not retrieve transaction read-only status from server

sql = "INSERT INTO findtable (station_num, employeer_name, result) VALUES (?,?,?)"
MysqlJdbc.ExecNonQuery2(sql,Array As Object(station_num, employeer_name, result))

under Debug , run ok. but under Release, Error occurred, java.sql.SQLException: Could not retrieve transaction read-only status from server, why? thanks


AdditionalJar: mysql-connector-java-5.1.49-bin
jdbcSQL 1.5
 

aeric

Expert
Licensed User
Longtime User
Is the server running on new version of MySQL?
Please post your jdbcUrl and the whole error message.

Check this post:
 
Upvote 0
Top