摘要: 插入操作的时候出现。Duplicate entry 'test' for key 1 。原因:由于数据库字段的惟一性约束,不允许重名的字段值存在。 阅读全文
posted @ 2010-09-16 14:45 java程序代码 阅读(299) 评论(0) 推荐(0) 编辑
摘要: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketExceptionMESSAGE: java.net.ConnectException: Connection timed out: connectSTACKTRACE:java.net.SocketException: java.net.ConnectException: Connection timed out: 阅读全文
posted @ 2010-09-16 11:08 java程序代码 阅读(166) 评论(0) 推荐(0) 编辑