39

mysql 遇到 Access denied for user 'root'@'IP地址' 问题

前置背景: 我在自己的阿里云服务器上使用 docker 安装了一个 mysql 容器; 但是,最近在另一台电脑上登录这个 mysql 的时候,又遇到了 Access denied for user 'root'@'IP地址' 问题; 在网上找了一些资料准备解决该问题的时候,发现在 docker 容器 ......
39 地址 Access denied 问题

progs/verifier_netfilter_retcode.c:42:1: error: unknown attribute 'btf_decl_tag' ignored

平台 ubuntu20.04 问题 在linux内核源码目录下执行下面的命令时: root@ubuntu-vm:/mnt/linux-6.5/tools/testing/selftests/bpf# make 报如下错误: progs/verifier_netfilter_retcode.c:41: ......

Error creating bean with name 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping':

Error creating bean with name 'org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping': Instantiation of bean failed; nested exception is o ......

报错Failed to execute spark task, with exception 'org.apache.hadoop.hive.ql.metadata.HiveException(Failed to create Spark client for Spark session 768047b9-c7f7-459f-9220-5d8d7bdabefe)

在执行hive on spark的时候 上面的错误可能有以下几种问题: 1.版本问题 不匹配 2.时间参数问题 设置的参数太小了 3.在hive-site.xml文件中没有配置spark 的home 我的问题属于第一个问题导致没有跑成功 当时也在想是不是内存出现了问题 ......

E: The repository 'xxx' is not signed.

在ubuntu上安装了google chrome, 运行时有问题,删除了之后再次运行 sudp apt update 会报错 E: The repository 'http://dl.google.com/linux/chrome/deb stable InRelease' is not signe ......
repository signed 39 The not

缺少几个'?'引起的WebSQL失效

原来的数据库只有两列:english,chinese, db.transaction(function (tx) { tx.executeSql( 'INSERT INTO USERS (english,chinese) VALUES (?,?)', [english, chinese]) dom. ......
WebSQL 39

1130 - Host 'xxx' is not allowed to connect to this MySQL server

安装mysql-5.7.32数据库时,使用Navicat工具连接数据库时,出现Host 'xxx' is not allowed to connect to this MySQL server,详情如下: 两种解决方案,任选一个即可: 1、修改mysql数据库用户表数据 执行如下SQL命令: use ......
allowed connect server MySQL 1130

Unexpected character '=' (code 61); expected a semi-colon after the reference for entity 'useSSL' at [row,col,system-id]: [8,75,"file:/usr/bigdata/hive-3.1.3/conf/hive-site.xml"]

在初始化hive时报错,出现如下问题: 错误原因:hive-site.xml 配置文件中,数据库的地址带有 & 符号。 将数据库地址中的 & 符号调整为 &,详情如下: 再次初始化hive,执行结果如下: ......
39 hive quot Unexpected semi-colon

The innodb_system data file 'ibdata1' must be writable

MySQL无法启动 Active: deactivating (stop-sigterm) (Result: exit-code) 查看配置文件中的日志存储位置: view /etc/my.cnf 查看日志存储文件位置:/var/log/mysqld.log 文件错误提示:The innodb_sy ......
innodb_system writable ibdata1 innodb ibdata

算法训练day39LeetCode738.968.

算法训练day39LeetCode738.968. 738.单调递增的数字 题目 738. 单调递增的数字 - 力扣(LeetCode) 题解 代码随想录 (programmercarl.com) class Solution { public: int monotoneIncreasingDigi ......
算法 LeetCode day 738 968

CentOS 8 解决 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

原因 CentOS-8于2021年12月31日停止了源的服务。 解决办法 3.1. 备份原有的yum源配置文件 cd /etc/yum.repos.d/ mkdir bak; cp *.repo bak/ 执行如下命令,替换配置文件内容 sed -i 's/$releasever/8-stream/ ......

Python39days

数据库数据的演变史 数据存储的发展史 数据库的本质——cs架构软甲 数据库的分类 SQL与nosql的介绍 MySQL的介绍 MySQL的下载与安装MySQL服务的制作 MySQL如何登陆 管理员密码的修改以及忘记密码怎么办 基本的SQL语句(针对库,表,记录的增删记录) ————————————— ......
Python days 39

Unknown collation: 'utf8_0900_ai_ci' 的解决方法

Unknown collation: 'utf8_0900_ai_ci' 解决方法 Unknown collation: 'utf8_0900_ai_ci' 在使用 Navicat导入sql脚本的时候出现报错 Unknown collation: 'utf8_0900_ai_ci' 原因:当前要导入 ......
collation Unknown 方法 ai_ci 39

TypeError: Object of type 'Animal' is not JSON serializable/ 自定义对象 转json串

import jsonclass Animal(object): def __init__(self): self.name = 'tom' def __repr__(self): return f'my name is {self.name}&i like apple'd1 = { 'county ......
serializable TypeError 对象 Object Animal

错误:You can't specify target table 'xxx' for update in FROM clause的解决

delete FROM usrlogin where member_id=(SELECT member_id FROM usrlogin WHERE login_id='#011SkhVVje27smbxek0XwjKeA=='); 会出现报错信息: You can't specify target ......
39 错误 specify clause target

滑模控制:关于滑模面和e-e'相位图

由s = e+ke' = 0可知,e-e'相位图上的s=0曲线为斜率为-k的直线 但如果s变量是非线性的,则e-e'相位图上的s=0曲线将不一定是直线,如非奇异终端滑模e+β(e')^p/q=0,其s=0的线是-e^(q/p) 不过当系数如k和β设置不合理,会导致e'过大,使得e的变化也过大,最后导 ......
滑模 相位 e-e 39

Macos安装pymssql时报错symbol not found in flat namespace '_bcp_batch'

从2.2.0开始就有很多人遇到类似的问题,但是一直没有明确的解决方案,一直到今天在官方仓库的issue找到了有人贡献的解决方案,经过实际测试有效,所以记录一下: brew install FreeTDS export CFLAGS="-I$(brew --prefix openssl)/includ ......
bcp_batch namespace 时报 pymssql symbol

CF1137F Matches Are Not a Child's Play

哈人*3400,是不是贺过了个 1F (? 单点编号 \(\to max + 1\),动态维护 prufer 序列删除了哪些点。 看似不可做,但是不难发现我们一个点被更改其他点的相对次序不会改变,反而 \(x \to max\) 这条链的删除次序到了最后面。 然后我们以权值最大点为根,不难发现每次只 ......
Matches 1137F Child 1137 Play

import { useRouter } from 'next/router'; 在非hooks 文件或组件中使用

将 import { useRouter } from 'next/router'; 改为 import Router from "next/router"; 使用: Router.push('/'); 原来使用 import { useRouter } from 'next/router'; 会导 ......
组件 useRouter 文件 import router

asp.net core signalr 客户端调用服务端方法报:Error:Failed to invoke 'adduserToConnection' due to an error on the server

TS端调用方法为: connection.start() .then(() => { connection.invoke("adduserToConnection",account,connection.connectionId); }) .catch((err) => { console.erro ......

39 依赖注入

只能 “父传子” 在 main.js 中可以 提供全局变量 asynchron:异步 synchronized : 同步 ......
39

vue进行跳转之后出现Cannot read properties of undefined (reading 'router') TypeError: Cannot read properties of undefined (reading 'router'的问题

问题描述 使用router进行页面跳转时,就出现了这样的问题: 也就是这里出现了问题: 问题解决 本来是按照网上的教程: const _this=this; 但是,但是,我本来就是用的这种方法呀~ 然后就打算直接在这个界面引用: import router from '@/router' route ......
properties undefined reading Cannot router

听听Dreamforce '23中Salesforce高管们对产品、功能的见解!

True to the Core是Dreamforce的传统环节,这是向Salesforce高级管理人员提出问题的问答会议。True to the Core旨在将Trailblazer与产品团队联系起来,做出有关产品发展方向的决策。 Dreamforce '23 的True to the Core没 ......
见解 Dreamforce Salesforce 功能 产品

[914] In Python's datetime library, you can format dates using the strftime() method

In Python's datetime library, you can format dates using the strftime() method. This method allows you to create a formatted string representation of ......
datetime strftime library Python format

Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'jira.ji.ID' which is not functionally dependent on columns in GROUP BY clause;only_full_group_by

这个报错的完整信息 Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'jira.ji.ID' which is not functionally dependent on ......

Program does not contain a static 'Main' method suitable for an entry point

http://www.kangry.net/blog/?article_id=391&type=article 修改办法,对着项目右键-》属性-》application-》output type设为Class Library即可。 ......
suitable Program contain method static

Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found

Plugin 'org.springframework.boot:spring-boot-maven-plugin:' not found 一、问题现象 pom.xml 文件中有报红的错误提示,“Plugin 'org.springframework.boot:spring-boot-maven-p ......

python报错解决-ValueError: Trusted host URL must include a host part: '#!

删掉#后面的字符 参考: pip install总是报错:ValueError: Trusted host URL must include a host part: ‘#‘-CSDN博客 ......
host ValueError Trusted include python

ModuleNotFoundError: No module named 'conda.auxlib'

[ ~/software]$ condaTraceback (most recent call last): File "/ppp/software/Anaconda3.8/bin/conda", line 15, in <module> sys.exit(main()) File "/ppp/so ......