mysql8: alter user 'root'@'localhost' identified by '123456'; mysql5.7: update user set authentication_string = password('123456') where user = 'root' ...
分类:
数据库 时间:
2021-02-22 11:45:52
阅读次数:
0
import pymongo db_configs = { 'type': 'mongo', 'host': '127.0.0.1', 'port': '27017', "user": "", "password": "", 'db_name': 'spider' } class MongoPipe ...
分类:
其他好文 时间:
2021-02-19 13:41:33
阅读次数:
0
1.application.yml ###################以下为Redis增加的配置########################### spring: redis: #单机配置 # host: 122.51.50.249 # port: 6380 timeout: 6000 # ...
分类:
编程语言 时间:
2021-02-19 13:07:48
阅读次数:
0
TCP网络编程分为客户端和服务端 客户端使用 Socket类 服务端使用 ServerSocket类 ★TCP实现聊天 1.客户端 TcpClientDemo01.java package com.ckfuture; import java.io.IOException; import java.i ...
分类:
其他好文 时间:
2021-02-19 13:05:37
阅读次数:
0
前言 1、配置虚拟主机有两种方式,可以在默认的httpd.conf 配置文件中;也可以在conf.d 目录下面做 vhosts.conf 文件的配置处理。这边优先考虑第二种,因为第二种更加方便站点的维护管理 2、在conf.d目录下面做vhosts.conf 文件的添加。 注意:这里的vhosts. ...
分类:
Web程序 时间:
2021-02-19 13:05:05
阅读次数:
0
Perfect简介:Perfect框架是Swift的服务器框架之一。 环境:MacOS 10.15.6 ,Xcode 12.3 1、新建一个文件夹 2、终端 cd到上面创建的文件夹,然后命令 git clone https://github.com/PerfectlySoft/PerfectTemp ...
分类:
编程语言 时间:
2021-02-17 14:49:14
阅读次数:
0
1、背景: 启动MariaDB服务,通过python远程访问数据库失败,查询MariaDB日志(systemctl status mariadb)报错信息为: user: 'unauthenticated' host: '192.168.1.8' (This connection closed no ...
分类:
数据库 时间:
2021-02-17 14:04:16
阅读次数:
0
The connection to the server 192.168.1.11:6443 was refused - did you specify the right host or port? 怀疑是不是kubelet挂了,检查 [root@master1 prometheus]# syst ...
分类:
移动开发 时间:
2021-02-16 12:26:05
阅读次数:
0
从命令提示窗口中选择MySQL数据库 语法:USE 数据库名; 使用PHP脚本选择MySQL数据库 语法:mysqli_select_db(connection,dbname); 规定要使用的MySQL连接(必须) 规定要使用的默认数据库(必须) 举个例子 <?php header("content ...
分类:
数据库 时间:
2021-02-15 12:19:21
阅读次数:
0
出现原因 finalshell意外终止,导致ssh连接意外终止 之后怎么都连不上虚拟机的ssh,一看是虚拟机的ssh已经被意外暂停,可能是跟finalshell的意外终止有关 解决 chmod 600 /etc/ssh/ssh_host_rsa_key chmod 600 /etc/ssh/ssh_ ...
分类:
其他好文 时间:
2021-02-15 12:17:03
阅读次数:
0