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

后端 未结 2 1184
囚心锁ツ
囚心锁ツ 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: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.

提交回复
热议问题