# web-DB-tools **Repository Path**: chenbinqun/web-DB-tools ## Basic Information - **Project Name**: web-DB-tools - **Description**: No description available - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-16 - **Last Updated**: 2021-12-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # web-DB-tools ### 体验地址 demo * [http://39.107.109.109:20101/](http://39.107.109.109:20101/) * 账号密码 feifei/123456 # 简介 * 一个web版数据库执行工具,而且写sql有提示,关键字和表名提示,没有字段提示. * 支持多条sql执行 * 单条SQL执行table形式返回,多条SQL已JSON并格式化好返回展示. * 常用SQL收藏,编辑,删除,以及SQL分享给其他用户 * 支持添加用户,权限配置,只读,读写,dml等 * 支持定期密码更新提醒,只需一个配置设置密码必须更新的周期 * 附带一些常用的开发工具,JSON格式化,freemarker语法测试,域名whois查询,正则表达式测试,分片上传文件至项目所在服务器. * 还有加了百度统计统计各个页面及用户分析,如需修改成自己,修改tj.ftl内容为自己的百度统计代码即可 # 全兴升级版 2018/11/03 win10风格 * 全新window 10 风格 * 支持主题、背景、开始菜单栏等自己定义配置 * 可以自定义配置自己的菜单 * 还可以设置锁屏、配置锁屏界面背景 # 技术框架及插件 * spring boot,spring mvc * java,mysql * freemarker,html,js,jquery,css * bootstrap,layui # 使用截图 ![login](https://github.com/hammerLei/web-DB-tools/blob/master/photo/database0.png) *** ![单条SQL执行](https://github.com/hammerLei/web-DB-tools/blob/master/photo/database1.png) *** ![多条SQL执行](https://github.com/hammerLei/web-DB-tools/blob/master/photo/database2.png) *** ![收藏](https://github.com/hammerLei/web-DB-tools/blob/master/photo/database3.png) *** ![导出结果](https://github.com/hammerLei/web-DB-tools/blob/master/photo/database5.png) *** ![百度统计](https://github.com/hammerLei/web-DB-tools/blob/master/photo/baidutj.png) # win10版截图 ![1](https://github.com/hammerLei/web-DB-tools/blob/master/photo/win10-0.png) *** ![2](https://github.com/hammerLei/web-DB-tools/blob/master/photo/win10-1.png) *** ![3](https://github.com/hammerLei/web-DB-tools/blob/master/photo/win10-2.png) *** ![3](https://github.com/hammerLei/web-DB-tools/blob/master/photo/win10-3.png) *** ![4](https://github.com/hammerLei/web-DB-tools/blob/master/photo/win10-4.png) *** ![5](https://github.com/hammerLei/web-DB-tools/blob/master/photo/win10-5.png) # 部署说明 * 服务器下基础java环境请自行配置 * feature目录中包含该服务用户建表SQL及nginx配置 * mvn package成jar包 * 项目目录下主要包含这些文件和目录 conf dbTool-site-database-1.0-SNAPSHOT.jar log logs restart.sh * conf目录对象项目中的conf目录,里面文件内容打开看便知 * restart.sh 脚本如下,自行修改路径和端口 ``` #!/bin/bash jar_file=dbTool-site-database-1.0-SNAPSHOT.jar prot_file='Dserver.port=20101' kill -9 `ps aux|grep $jar_file | grep $prot_file | grep java | grep -v grep | awk '{print $2}'` echo "---------------------------kill done--------------------------------" java -jar -Dserver.port=20101 -Dchime.application.name=site -Dspring.profiles.active=test dbTool-site-database-1.0-SNAPSHOT.jar >> $(pwd)/log/catalina-$(date +%Y-%m-%d).log & echo "restart success!" ```