`
sjsky
  • 浏览: 904747 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

unauthenticated user

阅读更多

   blog迁移至 :http://www.micmiu.com

 

今天写了个简单连接数据库的程序,在远程连接mysql 时发现明显慢,后来登录mysql后查看当前连接情况,命令如下:

mysql>show processlist;

发现大量的unauthenticated user信息,如下图:


经搜索知道是因为mysql开启了反向域名解析的功能。

 

解决办法有两个如下:


1. mysql 启动的参数中添加--skip-name-resolve ,关闭反向域名解析功能。


2.在mysql的配置文件my.cnf中找到[mysqld]一节,增加skip-name-resolve ,重新启动mysql即可。

 

 

转载请注明来自:Michael's blog @ http://sjsky.iteye.com

------------------------------ 分 ------------------------------ 隔 ------------------------------ 线 ------------------------------




 

 

  • 大小: 76.6 KB
分享到:
评论

相关推荐

    MySQL服务器性能优化.docx

    当你观察你的主机进程列表,发现大量 264084 " unauthenticated user " xxx.xxx.xxx.xxx " NULL " Connect " NULL " login " NULL 的待连接进程时,就要加大 back_log 的值了。默认数值是50,我把它改为500。 (2)、...

    formio-upload-unauthenticated

    Form.io文件上传服务器该库提供了一个上载服务器/代理,可与Form.io文件组件和URL配置一起使用。 Form.io的MIT官方许可工作的此变体适用于开放源代码form.io。 这是一个未经授权的上传处理程序,因此它应与form.io的...

    speakeasy:由Bodyguard提供支持的基于中间件的苦艾酒GraphQL授权

    user_key: :current_user , # the key the current user will be under in the GraphQL context authn_error_message: :unauthenticated # default authentication failure message 注意:未提供authz_e

    glcic:Keras实施的“全球和本地一致的图像完成”

    全球和本地一致的图像完成(GLCIC) Keras实现了GLCIC,这是一...apt-get install -y --allow-unauthenticated python-opencv apt-get install -y --allow-unauthenticated vim apt-get install -y --allow-unauthent

    SAL9000:SAL 9000于2021年3月16日在CTO Slackers上引起了轰动

    瑞克 howto: : 部署到Google CLoud本地-从仓库根目录运行:gcloud函数部署keyphraseExtraction-运行时python39 --trigger-http --allow-unauthenticated --project = sal9000-307923 --region = us-west2 从github...

    BSD-Asterisk:在FreeBSD中创建一个星号VoIP服务器

    BSD星号 在FreeBSD中创建一个星号VoIP服务器 ...context=unauthenticated ; default context for incoming calls allowguest=no ; disable unauthenticated calls srvlookup=yes ; enabled DNS SRV record looku

    linux_screenshot_xwindows:波动插件从内存转储中提取X屏幕截图

    介绍 该易失性插件的目标是从内存转储中提取所有打开的X窗口的屏幕截图。 之前的工作 由Adam Bridge( )实现的linux_xwindows性插件linux_xwindows从注册到X的窗口对象中提取各种元数据,这些元数据是通过遍历X...

    tfjs-cloudrun

    在Cloud Run上使用TensorFlow.js服务保存的模型 使用通过Cloud Run为保存的模型提供预测。... --allow-unauthenticated \ --memory=1Gi \ --max-instances=10 \ --concurrency=10 \ --port=8080 \ --source=.

    github:Github API的高级包装。 适用于浏览器

    维护者想要 Github.js Github.js为Github的API提供了最小的高级包装。...// unauthenticated client const gh = new GitHub ( ) ; let gist = gh . getGist ( ) ; // not a gist yet gist . create ( {

    metrikfy_metrics:展开为米特里卡

    GCLOUD运行建立图像docker ...flow-290316/random查看图片gcloud container images list部署gcloud run deploy random --port 80 --platform=managed --allow-unauthenticated --region=us-central1 --image=gcr.io/s

    CVE-2021-21972:CVE-2021-21972 VMware vCenter metasploit利用脚本中的未经授权的RCE

    CVE-2021-21972 CVE-2021-21972 VMware ...chmod +x ~ /.msf4/modules/exploits/multi/http/vmware_vcenter_server_unauthenticated_file_upload_exploit.py msfconsole metasploit用法 set target set PAYLOAD

    rdio-node:Node.js 的 Rdio API 客户端库

    更新 2014-02-01 :Rdio 现在有一个官方的 Node.js 客户端库,可以在找到。 此 repo 中的库不再维护,此处用于存档目的。无线节点Rdio-Node 是 Node.js 的 Rdio API 客户端库。...// Make an unauthenticated

    dizzyapi-py:Dizzyam.com API的Python客户端

    用法实例化连接对象并调用其方法: from dizzyapi import JSONAPIConn , XMLAPIConn , APIError# Unauthenticated JSON connection# API results are returned as Python dictionariesjson_conn = JSONAPIConn ()...

    rik-nodejs-loopback-chat-server

    http://:@:会议室ACL片段: { "accessType": "WRITE", "principalType": "ROLE", "principalId": "$unauthenticated", "permission": "DENY", "property": [ "__create__messages", "__delete__messages", "__...

    burp-unauth-checker:burpsuite扩展程序,用于检查未经授权的漏洞

    burp-unauth-checker概述自动化检测未...一些授权参数是在get/post参数中的,如user/list?token=xxx,这时可以勾选replace GET/POST Auth Params with替换授权参数值。默认过滤后缀列表filterSuffixList = "jpg,jpeg,pn

    dizzyapi-php:Dizzyjam.com APIPHP客户端

    # Sample unauthenticated call $ api = new Dizzyjam (); $ store_info = $ api -> catalogue -> store_info ( 'dizzyjam' ); # Add authentication $ api -> set_credentials ( $ auth_id , $

    GCloudJsonToCsv:一个简单的GCloud函数,它接受json负载并返回excel文件

    -runtime dotnet3 --trigger-http --allow-unauthenticated 注意:这将允许任何人使用您的功能,因此请小心避免潜在的滥用跑注意:不要忘记将云功能端点放在索引文件的第11行(index.fsx:11) 一旦部署了功能运行...

    netlint:对网络配置文件执行静态分析

    注意:仍处于积极开发中,并可能会进行重大更改-使用此功能时请记住这一点。 Netlint 对网络设备配置文件执行...A101 Console line unauthenticated -> line con 0 A102 HTTP server not disabled -> ip http server -

    9806H 数据配置

    epon-onu_0/3/1:1 unauthenticated deny ZXAN(config)#interface epon-olt_0/2/3 进入PON 口 ZXAN(config-if)# ZXAN(config-if)# ZXAN(config-if)# ZXAN(config-if)# ZXAN(config-if)# ZXAN(config-if)# ZXAN...

    opds2-search:索引器微服务

    opds2搜索微服务索引器微服务 本地快速入门npm运行开始 gcloud函数部署索引器--runtime nodejs14 --trigger-http --allow-unauthenticated

Global site tag (gtag.js) - Google Analytics