vue-cli4脚手架搭建一 vue create vue3 cd vue3 yarn serve http://localhost:8080/#/ main.js文件 import Vue from 'vue' import App from './App.vue' import router f ...
分类:
其他好文 时间:
2020-07-18 15:32:39
阅读次数:
70
一、新建工程 新建jansens-backup工程,这是一个独立运行于admin的服务模块,可以分开独立部署 二、添加依赖 在pom.xml文件中添加web、swagger、common依赖包。 <dependencies> <!-- spring boot --> <dependency> <gr ...
分类:
编程语言 时间:
2020-07-18 15:28:55
阅读次数:
110
这是我第一次安装虚拟机,感觉安装过程就像做山车一样 首先虚拟机的选择:Hper -V,Vmware 刚开始打算装Hper -V,无奈自己电脑系统是window 家庭版,因为Hper -V支持的系统有window 10专业版以及以上版本和window server系统 Vmware这个介于我的钱包我选 ...
分类:
其他好文 时间:
2020-07-18 15:26:43
阅读次数:
116
#背景 今天在学习mysql时,看到一个案例,大体来说,就是客户端报Too many connections。但是,客户端的连接池,限制为了200,两个客户端java进程,那也才400,然后mysql配置了800的连接。 mysql是在my.cnf中配置了: [root@localhost CAD_ ...
分类:
数据库 时间:
2020-07-18 15:24:03
阅读次数:
103
import pymysql # 打开数据库连接 db = pymysql.connect("localhost", "root", "123456", "TESTDB" ) # 使用cursor()方法获取操作游标 cursor = db.cursor() # SQL 插入语句 sql = "IN ...
分类:
数据库 时间:
2020-07-18 13:35:09
阅读次数:
170
1. 查看mysql用户 select User,Host,authentication_string from mysql.user; + + + + | User | Host | authentication_string | + + + + | root | localhost | | | ...
分类:
数据库 时间:
2020-07-18 11:31:53
阅读次数:
86
今天用springboot搭建服务的时候发现,总是报错误 java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO),上午查了很多东西,还是没有解决后面再一遍博客上面看到了 自己大意呀!!!!! ...
分类:
数据库 时间:
2020-07-17 16:21:21
阅读次数:
126
今天做了这些事情,记录一下 远程操控服务器 在服务器上安装MySQL 远程操控服务器 Windows+r 输入mstsc 其中输入公网ip地址 登陆用户名:Linux系统为root,Windows系统为Administrator,千万不要打错了 密码:购买服务器的时候就有 若想在云服务器里复制自己本 ...
分类:
数据库 时间:
2020-07-17 16:12:49
阅读次数:
83
一、连接数据库的配置单独放在一个properties文件中 1,创建一个database.properties driver=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3306/mybatis? useSSL=true&useUnico ...
分类:
其他好文 时间:
2020-07-17 16:02:48
阅读次数:
52
公司硬盘不够用了,新买了一个存储,需要挂载到现在的系统上。前期的步骤运维已经全部搞定,在Linux下如何挂载,具体步骤如下: 1、查看是否已经分配 [root@localhost home]# fdisk -l 磁盘 /dev/sda:64.4 GB, 64424509440 字节,12582912 ...
分类:
系统相关 时间:
2020-07-17 11:35:14
阅读次数:
95