My SQL Error: A connection attempt failed because the connected party did not properly respond

后端 未结 2 1161
囚心锁ツ
囚心锁ツ 2021-01-15 04:50

I have a MySQL database in a 3rd party server. I am trying to access it from my local machine using php in dreamweaver. However, I am getting the following error:

         


        
相关标签:
2条回答
  • 2021-01-15 05:18

    It means you cant connect to the server. Check your connecting to the correct ip address and your firewall is configured to allow traffic.

    0 讨论(0)
  • 2021-01-15 05:34

    If your using "localhost" also try host name as 127.0.0.1. If its server try from mysql terminal whether that host is connecting from your local machine.

    In local machine I have faced same issue with host localhost and changed to 127.0.0.1 then its works well.

    0 讨论(0)
提交回复
热议问题