ERROR 2003 (HY000): can& #39; t connect to MySQL Server on & #39;10.16.115.101& #39; (111)

Source: Internet
Author: User

Ubuntu installed after MySQL, using the apt-get Install command, default to consent only local access

[Email protected]:~/software# mysql-uroot-p123456-h10.16.115.101-p3306
ERROR 2003 (HY000): Can ' t connect to MySQL server on ' 10.16.115.101 ' (111)

Default configuration file:



Need to stare bind-address out


Restarting the MySQL service

[Email protected]:~/software# service MySQL Restart
MySQL stop/waiting
MySQL start/running, process 6738

Test connection
[Email protected]:~/software# mysql-uroot-p123456-h10.16.115.101-p3306
Welcome to the MySQL Monitor. Commands End With; or \g.
Your MySQL Connection ID is 141
Server version:5.5.40-0ubuntu0.12.04.1 (Ubuntu)


Copyright (c), the Oracle and/or its affiliates. All rights reserved.


Oracle is a registered trademark of the Oracle Corporation and/or its
Affiliates. Other names trademarks of their respective
Owners.


Type ' help ', ' or ' \h ' for help. Type ' \c ' to clear the current input statement.


Mysql> exit
Bye

Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.

ERROR 2003 (HY000): can& #39; t connect to MySQL Server on & #39;10.16.115.101& #39; (111)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.