![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
文章平均质量分 51
lusx10
这个作者很懒,什么都没留下…
展开
-
MySQL安装出错解决方法
MySQL安装出错解决方法 The security settings could not be applied to the database because the connection has failed with the following error. Error Nr.1045 Access denied for user ‘root’@'localhost’(using ...原创 2011-09-08 19:49:29 · 2449 阅读 · 1 评论 -
JDBC查询大量数据异常问题
当连续对数据库进行查询操作时,出现如下异常: The driver was unable to create a connection due to an inability to establish the client portion of a socket. This is usually caused by a limit on the number of sockets imp...原创 2011-11-25 15:54:52 · 990 阅读 · 0 评论 -
ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction
做update操作时出现这个错误: [code="sql"]ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction[/code] 网上看了很多,都没解决问题。 后来发现存在一种可能是:另一个会话没有关闭Connection,导致另一个会话的操作没有提交导致了这个错误。 将另一个会话关闭,或comm...原创 2011-11-30 16:42:47 · 154 阅读 · 0 评论 -
MySQL日期使用
MySQL 日期类型:日期格式、所占存储空间、日期范围 比较。 日期类型 存储空间 日期格式 日期范围 datetime 8 bytes YYYY-MM-DD HH:MM:SS 1000-01-01 00:00:00 ~ 9999-12-31 23:59:59 timestamp 4 bytes YYYY-MM-DD HH:MM:SS 1970-01-01 00:00:01 ~ 203...原创 2013-03-22 11:29:11 · 175 阅读 · 0 评论