`
yuanyong
  • 浏览: 246817 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

Data source rejected establishment of connection, message from server: "Host '主机

阅读更多
Data source rejected establishment of connection, message from server: "Host '主机名'is not allowed to connect to this MySQL server

这是远程连接MySql 时出现的错误!用localhost 就不报异常,换成IP地址就出现如上异常!

解决办法:

GRANT ALL PRIVILEGES ON *.* TO 'username'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;


说明:

输入这段指令并回车后允许所有用root用户并且输入'password' 密码的主机登入该mysql Server 如果将'%'换成'10.1.1.1'那么只有10.1.1.1的主机可以登陆.

分享到:
评论
1 楼 筱韩_One 2013-04-17  
我这里,把初始连接数量变小,就不会出现这种错误了。

相关推荐

    eclipse常见报错

    6. Mysql 的错误:Data source rejected establishment of connection message from server: "Too many connections"。 解决方法:检查 Mysql 的 max connections 设置,避免多次 insert、update 操作没有关闭 ...

    mailserver开源项目

    *) Fix: Relay DATA command SMTP server response tiemout(no response from server), may cause server crash. (01.08.2011) *) New: Updated to ...

    sec常见协议及英文含义

    16. S7F1: Optional message used as a prerequisite to downloading a recipe from the host to the SuperTMX system or the tube. 英文含义:可选消息,用于从主机下载配方到SuperTMX系统或设备。 中文含义:可...

    weblogic 8.X 无限制

    The Server is not licensed for this operation.Connection rejected, the server license allows connections from only 5 unique IP addresses. 没有授权 提示5个IP访问的限制 解决办法: 从licensecodes.oracle...

    mysql "too many connections" 错误 之 mysql解决方法

    - 当遇到`com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Data source rejected establishment of connection, message from server: "Too many connections"`这样的异常时,说明MySQL...

    windows版curl

    --exclude-domains=LIST comma-separated list of rejected domains. -L, --relative follow relative links only. --follow-ftp follow FTP links from HTML documents. -H, --span-hosts go to foreign ...

    FileZilla_3.24.0

    FileZilla是一个免费开源的FTP软件,...可控性、有条理的界面和管理多站点的简化方式使得Filezilla客户端版成为一个方便高效的FTP客户端工具,而FileZilla Server则是一个小巧并且可靠的支持FTP&SFTP;的FTP服务器软件。

    KDC集群安装&维护文档

    kprop: Server rejected authentication (during sendauth exchange) while authenticating to server 1、主节点和从节点的时间是同步的 2、主节点配置文件已从主服务器复制到从节点的预期位置。 3、从节点的默认...

    SVN各种错误提示产生原因及处理方法大全

    2. svn: OPTIONS of 'http://svn.moon.ossxp.com/svn/test': authorization failed: Could not authenticate to server: rejected Basic challenge(http://svn.moon.ossxp.com) 该错误提示的原因是口令输入错误。...

    JLink_Windows_V648.zip

    DLL: Infineon TLE98xx: Some J-Link LITEs could not connect establish a successful target connection due to missing firmware functionality. Fixed. DLL: JTAG: When only having 1 TAP in the JTAG chain ...

    p29814665_122130_Generic.zip

    27010571: <BEA-000503> <INCOMING MESSAGE HEADER OR ABBREVIATION PROCESSING FAILED 26075541: .APPMERGEGEN_$DIGIT DIR REMAIN EVERY TIME BY DEPLOYING A EAR ON WLS 12.2.1 27823500: REGRESSION BUG WHICH...

    Senfore_DragDrop_v4.1

    7) If upgrading from a previous version of the Drag and Drop Component Suite, please read the document "upgrading_to_v4.txt" before you begin working on your existing projects. Note about "Property...

    word自动转化为chm

    Q: Error while loading Word document: “Call was rejected by callee”, “Command failed”, “The RPC server is unavailable”, etc. A: Connection to Microsoft Word may be blocked by the anti-virus ...

    does not exist.解决/root/.Xauthority does not exist

    标题 "does not exist. 解决 /root/.Xauthority does not exist" 涉及到的是一个常见的 Linux 系统问题,通常在使用图形界面(如 X Window System)或通过 SSH 远程连接时遇到。这个问题指出,系统找不到 `/root/....

    常见IIS错误,适合web编程者

    - **125 Data Connection Already Open**:数据连接已经打开,传输开始。 - **150 File Status Okay**:文件状态正常。 - **2xx - 成功** - **200 Command Okay**:命令成功。 - **202 Command Not Implemented*...

    解决OUTLOOK“无法发送此邮件。请在帐户属性中验证电子邮件地址 响应服务器Sender address rejected: not logged in”

    响应服务器:Sender address rejected: not logged in”。这个错误通常意味着Outlook在尝试通过SMTP服务器发送邮件时,服务器拒绝了发件人的邮箱地址,或者Outlook没有正确配置身份验证。 首先,我们需要了解电子...

    SMTP Server Status Codes

    假设收到以下错误消息:“SMTP error from remote mail server after end of data - <host ip-address>: 550 Error: Message content rejected”。这个错误信息中的550状态码表示邮件内容被拒绝,通常是因为内容违反...

    SmsRejectedReceiver.rar_Rejected

    当我们谈论`Intent.SMS_REJECTED`时,这是Android系统发送的一个特定意图(Intent),表明有一条短信由于某种原因未能成功发送或接收。这种情况下,我们可以创建一个`BroadcastReceiver`来捕获这个意图,并执行相应...

    idea上传代码到github时遇到的Push rejected: Push to origin/master was rejected

    在使用IntelliJ IDEA(简称Idea)上传代码到GitHub时,可能会遇到“Push rejected: Push to origin/master was rejected”的错误。这个问题通常发生在你尝试将一个新的本地仓库推送到已包含文件的远程GitHub仓库时。...

Global site tag (gtag.js) - Google Analytics