#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<stack> #include<queue> #define ll long long using ...
分类:
其他好文 时间:
2021-01-04 10:30:49
阅读次数:
0
3.1 工作模型(C/S) MySQL 客户端/服务器 类比ssh连接工作原理: 一,本地socket连接方式: (已经封装了IP+端口:用于本地服务的连接) 前提: 需要提前创建xxx@'localhost' 本地用户 [root@db01 ~]# cat /etc/my.cnf | grep s ...
分类:
数据库 时间:
2021-01-02 11:27:32
阅读次数:
0
[html] view plain copy [root@zookeeper1 zookeeper-3.4.5]# bin/zkServer.sh status JMX enabled by default Using config: /usr/local/zookeeper-3.4.5/bin/. ...
分类:
其他好文 时间:
2021-01-02 11:24:19
阅读次数:
0
题目描述 题目链接 一棵二叉树可以按照如下规则表示成一个由 \(0、1、2\) 组成的字符序列,我们称之为 “二叉树序列 \(S\)”: $S= \begin 0 \ \ \ \ \ \ \ \ \ \ 表示该树没有子节点 \newline 1S_1 \ \ \ \ \ \ 表示该树有一个子节点,S ...
分类:
其他好文 时间:
2021-01-02 11:15:58
阅读次数:
0
Centos在安装的时候如果是自动安装,默认的失去并不是中国时区时间需要修改。 检查现在的时区 [root@localhost ~]# timedatectl Local time: Tue 2020-03-31 16:35:23 CST Universal time: Tue 2020-03-31 ...
分类:
其他好文 时间:
2021-01-02 11:14:30
阅读次数:
0
linux sftp远程连接命令 sftp -oPort=60001 root@192.168.0.254 使用-o选项来指定端口号。 -oPort=远程端口号 sftp> get /var/www/fuyatao/index.php /home/fuyatao/ 这条语句将从远程主机的 /var/ ...
分类:
系统相关 时间:
2021-01-02 11:11:54
阅读次数:
0
fn consume_with_relish<F>(mut func: F) where F: FnMut() -> String { // `func` consumes its captured variables, so it cannot be run more // than once p ...
分类:
其他好文 时间:
2021-01-02 11:07:10
阅读次数:
0
1、0和任何字符串比较都会先把字符串转换为整型再进行比较 比如:'a'会被转换成0,'1a'会被转换成1,'1a1'也被转换成1, 同样空字符串也被转换成0再比较。 2、怎么区分0和空呢? 很简单: $str = '';if($str == 0){ // 此处$str == 0改为$str == ' ...
分类:
Web程序 时间:
2021-01-02 11:05:05
阅读次数:
0
1、修改MySQL密码方法一:usemysql;updateusersetpassword=PASSWORD(“123456”)whereuser=‘root’;flushprivileges;忘记密码:sed-ri‘3dskip-grant-tables‘/etc/my.cnfsystemctlrestartmariadbusemysql;updateusersetpasswor
分类:
数据库 时间:
2021-01-02 10:57:18
阅读次数:
0
MySQL安装配置 #####1 卸载旧版本(如果存在) 检查是否存在mysql:命令行(win+r 打开运行窗口)模式下: mysql --version 卸载教程:https://www.cnblogs.com/wzz2500/p/11361571.html 1 关闭服务:右击计算机 >管理 > ...
分类:
数据库 时间:
2021-01-02 10:50:13
阅读次数:
0