草庐IT

2022-11-05 |MySQL5.7.40下载、安装及配置 by YUNER

0.参考博客MySQL下载与安装https://blog.csdn.net/weixin_42869365/article/details/834724662021MySql-8.0.26安装详细教程(保姆级)https://blog.csdn.net/a802976/article/details/119255644windowsMysql5.7的安装+NavicatPremium12.0.18激活版本https://blog.csdn.net/weixin_43748076/article/details/85344429一、Mysql下载百度网盘下载网址:https://pan.baid

报错:CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team.

原因:此时版本python3.6;Cryptography37.04 解决办法:降版本,降Cryptography至3.4.8,就可以正常运行;               或者升级python3.9,高版本的python可以兼容这些冲突先查看已经安装的Cryptography版本pipshow Cryptography卸载pipuninstall cryptography查看有哪些版本pipinstall cryptography== 安装较低版本pipinstall cryptography==3.4.8

ES查询问题- Fielddata is disabled n text fields by default. Set fielddata=true on [XXXX]

1、重点信息提炼        Fielddataisdisabledntextfieldsbydefault.Setfielddata=trueon[shopOperatorTime]inordertoloadfielddatainmemorybyuninvertingtheinvertedindex.Notethatthiscanhoweverusesignificantmemory.Alternativelyuseakeywordfieldinstead2、关于fielddata=true这个参数可以在百度上面查看到对应的解释3、项目中的报错是使用shopOperatorTime这个字段

解决ssh连接提示Connection closed by xx port 22

最近使用VPN链接国外服务器的时候,突然出现ssh登录之后,進行複雜的操作后连接挂起,或者說ssh直接连接不上的情况,并且报错:xxxxxx$sshxxxxxxxx@xxx.xxx.xxx.xxx-vvvOpenSSH_7.6p1Ubuntu-4ubuntu0.5,OpenSSL1.0.2n7Dec2017debug1:Readingconfigurationdata/etc/ssh/ssh_configdebug1:/etc/ssh/ssh_configline19:Applyingoptionsfor*debug2:resolving"xxx.xxx.xxx.xxx"port22debug

Elasticsearch exception [type=cluster_block_exception, reason=blocked by: [FORBIDDEN/12/index r【已解决】

亲测2022/08/16BJ文章目录异常原因解决异常Causedby:org.elasticsearch.ElasticsearchStatusException:Elasticsearchexception[type=cluster_block_exception,reason=blockedby:[FORBIDDEN/12/indexread-only/allowdelete(api)];]atorg.elasticsearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:177)原因集群存储资源高水位异常

c# - 使用 Group By Linq 进行计数

我有一个看起来像这样的对象:Notice{stringName,stringAddress}在List中我想输出所有不同的名称以及特定名称在集合中出现的次数。例如:Notice1.Name="Travel"Notice2.Name="Travel"Notice3.Name="PTO"Notice4.Name="Direct"我要输出Travel-2PTO-1Direct-1我可以使用这段代码很好地获得不同的名称,但我似乎无法在1个linq语句中获得所有计数theNoticeNames=theData.Notices.Select(c=>c.ApplicationName).Distin

c# - 使用 Group By Linq 进行计数

我有一个看起来像这样的对象:Notice{stringName,stringAddress}在List中我想输出所有不同的名称以及特定名称在集合中出现的次数。例如:Notice1.Name="Travel"Notice2.Name="Travel"Notice3.Name="PTO"Notice4.Name="Direct"我要输出Travel-2PTO-1Direct-1我可以使用这段代码很好地获得不同的名称,但我似乎无法在1个linq语句中获得所有计数theNoticeNames=theData.Notices.Select(c=>c.ApplicationName).Distin

elastic-agent安装报错“Fleet Server - Error - x509: certificate signed by unknown authority

elasticssearch版本8.4.3根据官网的提示https://www.elastic.co/guide/en/fleet/8.4/fleet-troubleshooting.html#agent-enrollment-certs出现这种问题需要增加参数--insecureTofixthisproblem,passthe --insecure flagalongwiththe enroll or install command. ./elastic-agentinstall --fleet-server-es=https://192.168.0.180:9200 --fleet-ser

ElasticSearch 错误 Fielddata is disabled on text fields by default. Set fielddata=true 解决办法

情况:页面查询ES数据,Java查询报这个错误,但是,通过打印的语句,构建curl查询时候又是正常的,这就让我很费解。报错信息:{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Fielddataisdisabledontextfieldsbydefault.Setfielddata=trueon[aaa]inordertoloadfielddatainmemorybyuninvertingtheinvertedindex.Notethatthiscanhoweverusesignificantmemo

Android问题解决:Cause: com/android/tools/idea/gradle/run/OutputBuildAction has been compiled by a more

文章目录一、遇到问题二、解决问题一、遇到问题com/android/tools/idea/gradle/run/OutputBuildActionhasbeencompiledbyamorerecentversionoftheJavaRuntime(classfileversion55.0),thisversionoftheJavaRuntimeonlyrecognizesclassfileversionsupto52.0*Try:Runwith--infoor--debugoptiontogetmorelogoutput.Runwith--scantogetfullinsights.*Exc