zoukankan      html  css  js  c++  java
  • Drupal Installation:Failed to connect to your MySQL database server

    The following error must be resolved before you can continue the installation process:

    Failed to connect to your MySQL database server. MySQL reports the following message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond..
    • Are you sure you have the correct username and password?
    • Are you sure that you have typed the correct database hostname?
    • Are you sure that the database server is running?
    For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.
    • To start over, you must empty your existing database.

    Note:

    *I am able to access the current drupal db via SQLyog or phpmyadmin.

    *I'm using Vista Business.

    *PHP+MySQL+IIS

    *Server Status says everything's okay

    Cure:

    To fix this problem edit your hosts file (C:/Windows/System32/drivers/etc/hosts) and uncomment the line:

    CODE
    127.0.0.1   localhost

    DO NOT uncomment this line:

    CODE
    ::1    localhost

    As it will take priority and something about the system (not sure which part) doesn't like that.

  • 相关阅读:
    HDOJ骨头的诱惑
    DP Big Event in HDU
    hoj1078
    poj2728
    hoj1195
    poj2739
    poj2726
    海量并发也没那么可怕,运维准点下班全靠它!
    云上安全工作乱如麻,等保2.0来一下
    实践案例丨教你一键构建部署发布前端和Node.js服务
  • 原文地址:https://www.cnblogs.com/jiahello/p/1734270.html
Copyright © 2011-2022 走看看