Php+mysql+apache environment-related issues

Source: Internet
Author: User
Php+mysql+apache Environmental issues
When configuring the environment
MySQL root password incorrectly resets MySQL root password


How to solve this problem? I randomly hit the password on the popup:

Failed to connect to MySQL.

------Solution--------------------
Failed to connect to MySQL?
This is the result of Chinese, what do you use? phpMyAdmin
Connection failure should be the MySQL service does not start
------Solution--------------------
If you are using lamp, try root and test for each user name and password.
------Solution--------------------
Then you look at his help to see how to reset ah, generally do not have such a description, no use of these integration packages, you first see what the official say, generally have a default password.
------Solution--------------------
Empty password, have you tried?
User:root
Pass
------Solution--------------------
Try to log in to MySQL at the command line first
------Solution--------------------
Stop your mysql before you install Phpnow to see if Port 3306 is off, then install
If you don't, you're going to get a commercial conflict, and you need another port.
You will be prompted to enter the password during installation
If you do not remember to enter the password, then the password default is a null value ""
You can localhost/phpmyadmin root ' to see
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.