器量大者,福泽必厚
全部博文(587)
发布时间:2017-06-26 09:58:10
MySQL字符集LATIN1转UTF8 导出表结构mysqldump -uroot -p --default-character-set=utf8 -d databasename > db.sql修改db.sql内的字符集设置(notepad++编辑)ENGINE=MyISAM DEFAULT CHARSET=latin1;修改为ENGINE=MyISAM DEFAULT CHARSET=utf8;导出数据mysqldump -uroot -p'password' --quick --no-create-i.........【阅读全文】
发布时间:2017-03-29 20:12:28
09:05:03 UTC - mysqld got signal 11 ;This could be because you hit a bug. It is also possible that this binaryor one of the libraries it was linked against is corrupt, improperly built,or misconfigured. This error can also be caused by malfunctioning hardware.Attempting to collect some informati.........【阅读全文】
发布时间:2017-03-14 10:07:00
现象:同事使用程序读取mysql中相应的时间函数,发现时间差为8个小时,我怀疑是系统时间问题,核查后发现果然是时区的问题,解决方法如下: timedatectl set-timezone Asia/Shanghai然后查了下,发现系统的时间修改过来了!但是mysql中相应的时间函数还是没有改变于是登录mysql服务器,查看相关zone 变量:开.........【阅读全文】
发布时间:2016-12-29 09:57:11
查看mysql日志发现有大量的这种错误同时tomat日志里面有如下的日志:2016-12-23 13:26:41,551 [Druid-ConnectionPool-Create-906657899] ERROR [com.alibaba.druid.pool.DruidDataSource] - create connection error, url: jdbc:mysql://*.*.*.*:3306/system?useUnicode=true&characterEncoding=utf-8&useSSL=true, erro.........【阅读全文】