2019年1月3日

MySQL常用命令

摘要: 环境变量配置配置好以后,打开cmd连接:mysql -h主机地址 -u用户名 -p用户密码 (注:u与root可以不用加空格,其它也一样) 断开:exit (回车) 创建授权:grant select on 数据库.* to 用户名@登录主机 identified by \"密码\" 修改密码:my 阅读全文

posted @ 2019-01-03 15:12 Pusteblume2018 阅读(132) 评论(0) 推荐(0) 编辑

mysql 5.7.18 winx64安装配置方法

摘要: 在mysql-5.7.18-winx64文件夹下新建my.ini文件 在mysql-5.7.18-winx64文件夹下新建my.ini文件 [mysql] # 设置mysql客户端默认字符集 default-character-set=utf8 [mysqld] #设置3306端口 port = 3 阅读全文

posted @ 2019-01-03 13:43 Pusteblume2018 阅读(497) 评论(0) 推荐(0) 编辑

重装win7系统并激活

摘要: 备份 大白菜制作启动盘 下载大白菜软件UEFI版(新电脑使用uefi版本,装机版支持的主板多) 选择默认安装 选择默认模式开始制作 下载iso镜像文件,复制到u盘(手动复制) 设置bios Enter -->F1-->Security-->Secure Boot[Disable]-->Esc-> S 阅读全文

posted @ 2019-01-03 12:10 Pusteblume2018 阅读(620) 评论(0) 推荐(0) 编辑

2019年1月2日

JAVA创建子进程并处理waitFor() 阻塞问题

摘要: 虽然很想休息,但是想想还是要把今天学的东西记下来,不然以后再用还是新知识。 新建一个线程类读取子进程的汇报信息和错误信息,避免阻塞 创建子进程的RUN方法 注:JAVA进程waitFor() 阻塞总结参照博客https://blog.csdn.net/jinhao2003/article/detai 阅读全文

posted @ 2019-01-02 21:29 Pusteblume2018 阅读(1536) 评论(0) 推荐(0) 编辑

Some code changes cannot be hot swapped into a running virtual machine

摘要: java运行中修改代码不能改变立刻应用到本次运行中 阅读全文

posted @ 2019-01-02 20:26 Pusteblume2018 阅读(1779) 评论(0) 推荐(0) 编辑

java开发手册(阿里巴巴)——编程规约(部分)

摘要: (一)命名风格 3. 【强制】类名使用 UpperCamelCase 风格,但以下情形例外:DO / BO / DTO / VO / AO / PO / UID 等。 正例:MarcoPolo / UserDO / XmlService / TcpUdpDeal / TaPromotion 反例:m 阅读全文

posted @ 2019-01-02 20:22 Pusteblume2018 阅读(422) 评论(0) 推荐(0) 编辑

java——File

摘要: 注意事项: 1:创建File对象需要导包, import java.io.File 2:File对象没有无参数构造.创建对象需要传参. 3:File类的对象,既可以代表文件也可以代表文件夹。 构造实例 new File(String pathname); 通过将给定路径来创建一个新File实例。 n 阅读全文

posted @ 2019-01-02 18:02 Pusteblume2018 阅读(132) 评论(0) 推荐(0) 编辑

OpenModelica Debug

摘要: assertion只触发一次 The gdb process has not responded to a command within 40 second(s).This could mean it is stuck in an endless loop or taking longer than 阅读全文

posted @ 2019-01-02 18:00 Pusteblume2018 阅读(792) 评论(0) 推荐(0) 编辑

2019年1月1日

OpenModelica中simulate的用法

摘要: 先把官网上的说明文档放上来: simulate simulates a modelica model by generating c code, build it and run the simulation executable. The only required argument is the 阅读全文

posted @ 2019-01-01 19:12 Pusteblume2018 阅读(834) 评论(0) 推荐(0) 编辑

mysql 清空表——truncate 与delete的区别

摘要: 清空表 truncate table [表名]; delete from [表名]; 注: truncate是整体删除(速度较快), delete是逐条删除(速度较慢)。 truncate不写服务器log,delete写服务器log,也就是truncate效率比delete高的原因。 truncat 阅读全文

posted @ 2019-01-01 16:51 Pusteblume2018 阅读(241) 评论(0) 推荐(0) 编辑

导航