在linux下,不可避免的会用VIM打开一些windows下编辑过的文本文件.我们会发现文件的每行结尾都会有一个^M符号,这是因为 DOS下的编辑器和Linux编辑器对文件行末的回车符处理不一致,对于回车符的定义: windows:0D0A unix\linux: 0A...
Continue readingAuthentication with old (insecure) passwords is not supported. For more information, lookup Password Hashing in the latest MySQL manual ...
Continue reading1.修改MySQL的登录设置: vi /etc/my.cnf 在[mysqld]的段中加上一句:skip-grant-tables 保存并且退出vi 2.重新启动mysqld /etc/init.d/mysqld restart 3.登录并修改MySQL的root密码 /...
Continue reading第一章 创建和销毁对象 1.1 考虑用静态工厂方法替换构造器 1.2 用私有构造器或者枚举类型强化Singleton属性 1.3 避免创建不必要的对象 1.4 消除过期的对象引用 import java.util.Arrays; import java.util.Empty...
Continue reading