当前位置:网站首页>Number of connections server database message: error number 2003can't connect to MySQL server on 'server address' (10061)

Number of connections server database message: error number 2003can't connect to MySQL server on 'server address' (10061)

2022-06-26 06:19:00 Oh no, less hair

First of all, pay attention to : The error I encountered is the error of connecting to the server database , Instead of connecting to the local database , If you are connected to the local datagram by mistake, my solution is not suitable for you .

Cause of error

I use aliyun server , Alicloud servers do not have open port numbers by default ( What a fuck! A problem has been bothering me all morning )

Solution

Open it on the console of the alicloud server official website .
The specific operation is as follows :( I bought a lightweight server that was cheap , If you use a cloud server ECS, Then this blog may not be for you , You can open the port number by Baidu Alibaba cloud security group )

  1. First, go to the console on the official Alibaba cloud server website
     Console page

  2. Then click on the server list , Click the selection block at the top right of the corresponding product and then click Details
     Product list page

  3. Click to jump to the last one. Click firewall and click Add Rule on the right to add
     The last step

原网站

版权声明
本文为[Oh no, less hair]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206260612112817.html