部署方案一 前期准备 1. 拉取mysql docker pull mysql 2. 拉取nginx docker pull nginx 3. 更改web数据源 url: jdbc:mysql://business db:3306/business?useUnicode=true&character ...
分类:
编程语言 时间:
2020-04-07 12:54:50
阅读次数:
77
java.sql.SQLException: Incorrect string value: '\xE7\x9A\x84' for column 'name' at row 1 在创建创建数据库设置 CREATE DATABASE IF NOT EXISTS database_name DEFAUL ...
分类:
数据库 时间:
2020-04-07 00:04:50
阅读次数:
65
1.操作数据库(CRUD) C(Create):创建 创建数据库:create databases; 创建数据库:判断不存在,再创建:create database if not exists 数据库名称; 创建数据库:并指定字符集:create database 数据库名称 character s ...
分类:
数据库 时间:
2020-04-06 17:31:47
阅读次数:
99
题目描述 Farmer John has arranged his N (1 ≤ N ≤ 5,000) cows in a row and many of them are facing forward, like good cows. Some of them are facing backwar ...
分类:
其他好文 时间:
2020-04-06 00:23:00
阅读次数:
298
八种基本数据类型对应八种包装类和它们的继承关系 基本数据类型对应的包装类 boolean Boolean byte Byte short Short int Integer long Long char Character float Float double Double 1. 包装类的共性: 多 ...
分类:
编程语言 时间:
2020-04-05 22:08:47
阅读次数:
91
TA就是,HTML解释器 从WebKit内核的HTML解释器的角度来看HTML。了解HTML文档是如何从字节流,一步步到DOM树的。理解这个过程,很多前端开发时一知半解的问题都能够很好地理解了。 总览解释过程 首先HTML解释器接受到的是字节流(Bytes),经过解码之后是字符流(Character ...
分类:
Web程序 时间:
2020-04-05 18:35:17
阅读次数:
97
Given an array of strings products and a string searchWord. We want to design a system that suggests at most three product names from products after e ...
分类:
其他好文 时间:
2020-04-05 00:21:07
阅读次数:
84
RPM包安装方式 zabbix-server服务器端安装: 更近官网提供的epel源进行安装: 安装abbix-server: 1 # yum -y install zabbix zabbix-get zabbix-server zabbix-web-myslq zabbix-web zabbix- ...
分类:
其他好文 时间:
2020-04-04 22:25:45
阅读次数:
78
替换后的最长重复字符。题意是给一个字符串,只有大写字母,允许你替换其中的K个字母,问替换操作完成后能返回的最长字母相同的子串的长度是多少。例子, Example 1: Input: s = "ABAB", k = 2 Output: 4 Explanation: Replace the two 'A ...
分类:
其他好文 时间:
2020-04-04 09:41:15
阅读次数:
68
一、创建库 create database 【if not exists】 库名【 character set 字符集名】; 二、修改库 alter database 库名 character set 字符集名; 三、删除库 drop database 【if exists】 库名; ...
分类:
其他好文 时间:
2020-04-03 23:50:30
阅读次数:
66