1.背景
写了一个mysql插入程序很简单的。结果报错
java.sql.SQLException: Could not retrieve transation read-only status server
at com.mysql.jdbc.SQLError.createSQLException
(SQLError.java:996
)
at com.mysql.jdbc.SQLError.createSQLException
(SQLError.java:935
)
at com.mysql.jdbc.SQLError.createSQLException
(SQLError.java:924
)
at com.mysql.jdbc.SQLError.createSQLException
(SQLError.java:870
)
at com.mysql