![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 88
逆水知寒
愿得一人心,白首不相离!
展开
-
java程序启动重启脚本
java程序启动重启脚本#!/bin/bashcmd=$1args='-Xms2g -Xmx2g'if [ $# -gt 2 ] ; then echo "$#" app='$2' echo "Two parameters $app" else echo "$#" app='$2' echo "Three parameters $app"fipid=`ps -ef|grep java|grep $app|awk '{print $2}'` echo $pid原创 2020-06-28 11:53:38 · 460 阅读 · 0 评论 -
编译安装MySQL
编译环境yum -y install gcc gcc-c++ make wget autoconf perl-Time-HiResyum install zlib libxml libjpeg freetype libpng gd curl libiconv zlib-devel libxml2-devel libjpeg-devel freetype-devel libpng-devel g...原创 2020-04-28 16:12:05 · 139 阅读 · 0 评论 -
MySQL常用语句
表查询内联接SELECT * FROM m INNER JOIN n ON m.id = n.id;左外联接SELECT * FROM m LEFT JOIN n ON m.id = n.id;右外联接SELECT * FROM m RIGHT JOIN n ON m.id = n.id;交叉联接SELECT * FROM m CROSS JOIN n; # 标准写法...原创 2019-11-13 11:19:05 · 110 阅读 · 0 评论 -
mySql,oracle分页工具类
/***跨Oracle、MySQL通用分页查询/public class PagingUtil {public static final String MYSQL = “MYSQL”;public static final String ORACLE = “ORACLE”;private static Logger logger = Logger.getLogger(Paging...原创 2018-11-13 00:35:24 · 324 阅读 · 0 评论 -
SQL整理
SQL整理/* mysql */#对库的操作 -- 创建数据库create database databa character set utf8 collate utf8_general_ci;show databases; – 查看所有数据库show create database databa; – 查看指定数据库alter database d...原创 2018-11-12 17:34:16 · 121 阅读 · 0 评论