ERROR 2003 (HY000): Can't connect to MySQL server on localhost (10061)

后端 未结 26 2316
Happy的楠姐
Happy的楠姐 2020-12-23 02:37

I installed MySQL on Microsoft Windows 8 Using a noinstall Zip Archive. But when i tested by executing the following commands on windows prompt, the above error showed up.<

26条回答
  •  余生分开走
    2020-12-23 02:51

    I had the same problem. I tried all of the answers above (and some from other websites). In the end, my issue was that my cache wasn't configured. I found that info in my error log and fixed it by changing the line in the file:

    C:\MAMP\bin\apache\conf\extra\http-ssl.conf

    There I removed the double quotes from the line:

    SSLSessionCache "shmcb:/some/example/path/ssl_scache(512000)"

    to:

    SSLSessionCache shmcb:/some/example/path/ssl_scache(512000)

    and saved with Ctrl+S and closed the file.

    Here's the link that helped me: https://wiki.apache.org/httpd/SSLSessionCache

提交回复
热议问题