随笔分类 -  mysql

mysql错误信息收集
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Could
摘要:org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedExcepti 阅读全文

posted @ 2019-02-14 16:45 停不下来的菜鸟 阅读(1072) 评论(0) 推荐(0)

mysql5.6版本数据库向Mysql5.7版本的数据库更新数据
摘要:timestamp 类型不允许 timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', 创建表的是后会报异常,解决方法是: 在my.cnf文件里面假如: sql-mode=STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ 阅读全文

posted @ 2018-12-29 19:17 停不下来的菜鸟 阅读(847) 评论(0) 推荐(0)

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
摘要:mysql使用可视化界面登录使用的时候都没问题,只要使用xhell命令进入mysql就报异常 Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 解决方法:转载 https://blog 阅读全文

posted @ 2018-12-27 16:09 停不下来的菜鸟 阅读(856) 评论(0) 推荐(0)

导航